mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-18 08:45:56 +02:00
Started updates to master migration file. Made update to terminal_helper so prompt no longer provides "skip" option
This commit is contained in:
parent
d321b31486
commit
a8188cb08f
2 changed files with 20 additions and 6 deletions
|
@ -95,6 +95,19 @@ class Command(BaseCommand):
|
|||
)
|
||||
|
||||
# The following file arguments have default values for running in the sandbox
|
||||
|
||||
# TODO: make this a mandatory argument (if/when we strip out defaults, it will be mandatory)
|
||||
# TODO: use the migration directory arg or force user to type FULL filepath?
|
||||
parser.add_argument(
|
||||
"--migrationJson",
|
||||
default="/app/management/commands/utility/dataFile.json", # TODO: Get rid of this once done? Or leave it as defaults??
|
||||
help=(
|
||||
"A JSON file that holds the location and filenames"
|
||||
"of all the data files used for migrations"
|
||||
),
|
||||
)
|
||||
|
||||
# TODO: deprecate this once JSON module is done? (or keep as an override)
|
||||
parser.add_argument(
|
||||
"--migrationDirectory",
|
||||
default="migrationdata",
|
||||
|
@ -103,6 +116,8 @@ class Command(BaseCommand):
|
|||
"load_transition_domain migration script"
|
||||
),
|
||||
)
|
||||
|
||||
# TODO: deprecate this once JSON module is done? (or keep as an override)
|
||||
parser.add_argument(
|
||||
"--migrationFilenames",
|
||||
default="escrow_domain_contacts.daily.gov.GOV.txt,"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue