mirror of
https://github.com/NousResearch/atropos.git
synced 2026-04-19 12:57:58 +00:00
fix: default to 'serve' command if no subcommand is provided in CLI
This commit is contained in:
parent
24a350bc71
commit
b99757ec03
1 changed files with 4 additions and 0 deletions
|
|
@ -90,4 +90,8 @@ class HumorEnv(BaseEnv):
|
|||
|
||||
|
||||
if __name__ == "__main__":
|
||||
import sys
|
||||
# default to 'serve' if no subcommand provided
|
||||
if len(sys.argv) == 1:
|
||||
sys.argv.append("serve")
|
||||
HumorEnv.cli()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue