mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-29 08:50:01 +02:00
Changes
This commit is contained in:
parent
225437cdb4
commit
afcb0ec15a
4 changed files with 242 additions and 0 deletions
|
@ -88,6 +88,9 @@ class Command(BaseCommand):
|
|||
parser.add_argument(
|
||||
"domain_statuses_filename", help="Data file with domain status information"
|
||||
)
|
||||
parser.add_argument(
|
||||
"--loadExtraData", default=True, help="Determines if additional metadata should be applied"
|
||||
)
|
||||
|
||||
parser.add_argument("--sep", default="|", help="Delimiter character")
|
||||
|
||||
|
@ -306,6 +309,7 @@ class Command(BaseCommand):
|
|||
):
|
||||
"""Parse the data files and create TransitionDomains."""
|
||||
sep = options.get("sep")
|
||||
load_extra_data = options.get("loadExtraData")
|
||||
|
||||
# If --resetTable was used, prompt user to confirm
|
||||
# deletion of table data
|
||||
|
@ -322,6 +326,9 @@ class Command(BaseCommand):
|
|||
|
||||
# print message to terminal about which args are in use
|
||||
self.print_debug_mode_statements(debug_on, debug_max_entries_to_parse)
|
||||
|
||||
if load_extra_data:
|
||||
|
||||
|
||||
# STEP 1:
|
||||
# Create mapping of domain name -> status
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue