diff options
author | Lars Wirzenius <liw@liw.fi> | 2017-10-16 21:45:51 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2017-10-16 21:45:51 +0300 |
commit | 947bec6efd7c0753901c08fe4a854ddea96caa5a (patch) | |
tree | 4dc47be49b1571dac3b720cf0afb6c7c0744c10f /icktool | |
parent | 726d37ff1b253bf18e845e0f16fb4877d53e2fa2 (diff) | |
download | ick2-947bec6efd7c0753901c08fe4a854ddea96caa5a.tar.gz |
Add: icktool show-project
Diffstat (limited to 'icktool')
-rwxr-xr-x | icktool | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -112,6 +112,11 @@ class Icktool(cliapp.Application): sys.stderr.write(text) sys.exit(1) + def cmd_show_project(self, args): + name = args[0] + api = self._new_api() + self._prettyson(api.get('/projects/{}'.format(name))) + def _new_token(self): scopes = self.settings['scope'] cmd = self.settings['token-private-key-cmd'] |