Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
fix command error return bug for dev init
Browse files Browse the repository at this point in the history
  • Loading branch information
okedeji committed Mar 22, 2024
1 parent 696e43b commit 0290e04
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ allocmd.egg-info
build
dist
.DS_Store
start.sh
2 changes: 2 additions & 0 deletions allocmd/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,10 @@ def init(environment, name=None, topic=None):
if environment == 'dev':
if topic is None:
cprint("You must provide topic id when running development init.", 'red')
return
elif name is None:
cprint("You must provide name when running development init.", 'red')
return


print_allora_banner()
Expand Down
2 changes: 1 addition & 1 deletion allocmd/utilities/constants.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
cliVersion = "0.2.2"
cliVersion = "0.2.3"

0 comments on commit 0290e04

Please sign in to comment.