We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4e2f900 commit 183c999Copy full SHA for 183c999
dosei/main.py
@@ -16,10 +16,7 @@
16
def cli():
17
pass
18
19
-
20
-@cli.command()
21
-@click.argument("func", required=False)
22
-def run(func):
+def _run(func):
23
if func:
24
return Dosei.call_func(import_from_string(func))
25
try:
@@ -30,6 +27,10 @@ def run(func):
30
27
raise click.ClickException('Command "run" not found.')
31
28
os.system(app.command)
32
29
+@cli.command()
+@click.argument("func", required=False)
+def run(func):
33
+ _run(func)
34
35
@cli.command()
36
def dev():
pyproject.toml
@@ -1,6 +1,6 @@
1
[tool.poetry]
2
name = "dosei"
3
-version = "0.0.18a6"
+version = "0.0.18a7"
4
description = "Dosei Python SDK"
5
authors = ["Alvaro Molina <[email protected]>"]
6
license = "Apache-2.0"
0 commit comments