-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
76cfafb
commit 94b4223
Showing
5 changed files
with
26 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[tool.poetry] | ||
name = "zrb" | ||
version = "1.0.0a3" | ||
version = "1.0.0a4" | ||
description = "Your Automation Powerhouse" | ||
authors = ["Go Frendi Gunawan <[email protected]>"] | ||
license = "AGPL-3.0-or-later" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,14 @@ | ||
import sys | ||
|
||
from zrb.runner.cli import cli | ||
from zrb.util.cli.style import stylize_error | ||
from zrb.util.cli.style import stylize_error, stylize_warning | ||
from zrb.util.group import NodeNotFoundError | ||
|
||
|
||
def serve_cli(): | ||
try: | ||
cli.run(sys.argv[1:]) | ||
except KeyboardInterrupt: | ||
print(stylize_warning("\nStopped"), file=sys.stderr) | ||
except NodeNotFoundError as e: | ||
print(stylize_error(f"{e}"), file=sys.stderr) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters