aboutsummaryrefslogtreecommitdiffstats
path: root/cli.py
diff options
context:
space:
mode:
Diffstat (limited to 'cli.py')
-rwxr-xr-xcli.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/cli.py b/cli.py
index 2b287f9..aaf070e 100755
--- a/cli.py
+++ b/cli.py
@@ -181,5 +181,13 @@ def uninstall():
sh('pip3 uninstall qface')
+@cli.command()
+def upload():
+ dist = Path('dist')
+ dist.rmdir_p()
+ sh('python3 setup.py bdist_wheel')
+ sh('twine upload dist/*')
+
+
if __name__ == '__main__':
cli()