Skip to content

Commit 183c999

Browse files
committed
try
1 parent 4e2f900 commit 183c999

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

dosei/main.py

+5-4
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,7 @@
1616
def cli():
1717
pass
1818

19-
20-
@cli.command()
21-
@click.argument("func", required=False)
22-
def run(func):
19+
def _run(func):
2320
if func:
2421
return Dosei.call_func(import_from_string(func))
2522
try:
@@ -30,6 +27,10 @@ def run(func):
3027
raise click.ClickException('Command "run" not found.')
3128
os.system(app.command)
3229

30+
@cli.command()
31+
@click.argument("func", required=False)
32+
def run(func):
33+
_run(func)
3334

3435
@cli.command()
3536
def dev():

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "dosei"
3-
version = "0.0.18a6"
3+
version = "0.0.18a7"
44
description = "Dosei Python SDK"
55
authors = ["Alvaro Molina <[email protected]>"]
66
license = "Apache-2.0"

0 commit comments

Comments
 (0)