import argparse

parser = argparse.ArgumentParser(description='Migrate toilet codes')
parser.add_argument(
    'url', type=str,
    help='The base URL for the django toilet database')
parser.add_argument(
    'username', type=str, help='The username used to log in')
parser.add_argument(
    'password', type=str, help='The password used to log in')

import argparse

parser = argparse.ArgumentParser(description='Migrate toilet codes')
parser.add_argument(
    'url', type=str,
    help='The base URL for the django toilet database')
parser.add_argument(
    'username', type=str, help='The username used to log in')
parser.add_argument(
    'password', type=str, help='The password used to log in')
parser.add_argument(
    '--dryrun', '-d', action='store_true',
    help='Print out changes instead of uploading them.')
args = parser.parse_args()

Add dryrun command line argument
Add dryrun command line argument

  import argparse
  
  parser = argparse.ArgumentParser(description='Migrate toilet codes')
  parser.add_argument(
      'url', type=str,
      help='The base URL for the django toilet database')
  parser.add_argument(
      'username', type=str, help='The username used to log in')
  parser.add_argument(
      'password', type=str, help='The password used to log in')
+ parser.add_argument(
+     '--dryrun', '-d', action='store_true',
+     help='Print out changes instead of uploading them.')
+ args = parser.parse_args()
  
Add dryrun command line argument
## Code Before:
import argparse

parser = argparse.ArgumentParser(description='Migrate toilet codes')
parser.add_argument(
    'url', type=str,
    help='The base URL for the django toilet database')
parser.add_argument(
    'username', type=str, help='The username used to log in')
parser.add_argument(
    'password', type=str, help='The password used to log in')

## Instruction:
Add dryrun command line argument
## Code After:
import argparse

parser = argparse.ArgumentParser(description='Migrate toilet codes')
parser.add_argument(
    'url', type=str,
    help='The base URL for the django toilet database')
parser.add_argument(
    'username', type=str, help='The username used to log in')
parser.add_argument(
    'password', type=str, help='The password used to log in')
parser.add_argument(
    '--dryrun', '-d', action='store_true',
    help='Print out changes instead of uploading them.')
args = parser.parse_args()
