rendermap: add --show-accessibles
This commit is contained in:
parent
516d7921ce
commit
01e6674cd0
3 changed files with 25 additions and 4 deletions
|
@ -6,5 +6,9 @@ from c3nav.mapdata.render import render_all_levels
|
|||
class Command(BaseCommand):
|
||||
help = 'render the map'
|
||||
|
||||
def add_arguments(self, parser):
|
||||
parser.add_argument('--show-accessibles', action='store_const', const=True, default=False,
|
||||
help='highlight graph building areas (for debugging, but it looks nice, too)')
|
||||
|
||||
def handle(self, *args, **options):
|
||||
render_all_levels()
|
||||
render_all_levels(show_accessibles=options['show_accessibles'])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue