bye bye interactive help
This commit is contained in:
parent
7ecc2b5aa6
commit
bb1ef32e29
4
app.py
4
app.py
@ -19,6 +19,10 @@ def main(argv=sys.argv[1:]):
|
||||
app = TraefikHelper()
|
||||
app.command_manager.add_command('add', addService.AddService)
|
||||
app.command_manager.add_command('delete', deleteService.DeleteService)
|
||||
|
||||
if len(argv) == 0: # Disable the stupid interactive help
|
||||
app.run(['--help'])
|
||||
|
||||
return app.run(argv)
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
Loading…
x
Reference in New Issue
Block a user