Skip to content

Commit bc7e3fb

Browse files
author
Paul Miller
committed
click
1 parent d72eb72 commit bc7e3fb

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

jstat/cmd.py

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#!/usr/bin/env python
22
# coding: utf-8
33

4+
import click
45

6+
@click.command()
57
def run():
68
print("hiya")

lrun.py

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/usr/bin/env python3
2+
3+
# NOTE: this is just a convenience wrapper for running jstat from the repo
4+
5+
import jstat.cmd
6+
7+
if __name__ == "__main__":
8+
jstat.cmd.run()

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def run_tests(self):
4848
}
4949
},
5050
tests_require=["pytest"],
51-
install_requires=["pygments", "pluggy"],
51+
install_requires=["pygments", "pluggy", "click"],
5252
setup_requires=["setuptools_scm"],
5353
extras_require={"docs": ["sphinx"],},
5454
use_scm_version={

0 commit comments

Comments
 (0)