Skip to content

Commit 94d7066

Browse files
Merge pull request #37 from python-thread/dev
CLI migration
2 parents a8b3a87 + f870f0e commit 94d7066

File tree

7 files changed

+9
-444
lines changed

7 files changed

+9
-444
lines changed

src/thread/cli.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
2+
try:
3+
import importlib
4+
thread_cli = importlib.import_module('thread-cli')
5+
app = thread_cli.app
6+
except ModuleNotFoundError:
7+
def app(prog_name = 'thread'):
8+
print('thread-cli not found, please install it with `pip install thread-cli`')
9+
exit(1)

src/thread/cli/__init__.py

Lines changed: 0 additions & 18 deletions
This file was deleted.

src/thread/cli/base.py

Lines changed: 0 additions & 117 deletions
This file was deleted.

src/thread/cli/process.py

Lines changed: 0 additions & 229 deletions
This file was deleted.

0 commit comments

Comments
 (0)