bye bye interactive help

This commit is contained in:
Lee 2024-09-21 05:46:47 +01:00
parent 7ecc2b5aa6
commit bb1ef32e29

4
app.py
View File

@ -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__':