diff options
author | Juergen Bocklage-Ryannel <juergen.bocklage-ryannel@pelagicore.com> | 2016-12-02 15:50:18 +0100 |
---|---|---|
committer | Juergen Bocklage-Ryannel <juergen.bocklage-ryannel@pelagicore.com> | 2016-12-02 15:50:34 +0100 |
commit | 98c92749b0a63128d134fa3875574a04f293b815 (patch) | |
tree | 558b13a1f3684dacfeb359cf99142e3b9aa0e01a /cli.py | |
parent | fb1bf920a07c44dd6f887be94f40ab051d9ff07b (diff) | |
download | qtivi-qface-98c92749b0a63128d134fa3875574a04f293b815.tar.gz |
added upload to cli commands
Diffstat (limited to 'cli.py')
-rwxr-xr-x | cli.py | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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() |