diff --git a/lecli/cli.py b/lecli/cli.py index bcbc993..80e30fb 100644 --- a/lecli/cli.py +++ b/lecli/cli.py @@ -64,9 +64,6 @@ def tail(): """Tail logs""" pass -if __name__ == '__main__': - cli() - cli.add_command(query_commands.query) get.add_command(query_commands.get_events, "events") @@ -113,3 +110,6 @@ def tail(): delete.add_command(api_key_commands.delete_api_key, "apikey") tail.add_command(query_commands.tail_events, "events") + +if __name__ == '__main__': + cli() \ No newline at end of file