Add debug mode for GTFS scripts

This commit is contained in:
2024-05-08 10:38:28 +02:00
parent 2277d2fe64
commit 820fc0cc19
2 changed files with 7 additions and 2 deletions

View File

@ -24,6 +24,7 @@ class Command(BaseCommand):
}
def add_arguments(self, parser):
parser.add_argument('--debug', '-d', action='store_true', help="Activate debug mode")
parser.add_argument('--bulk_size', type=int, default=1000, help="Number of objects to create in bulk.")
parser.add_argument('--dry-run', action='store_true',
help="Do not update the database, only print what would be done.")