diff options
author | Lars Wirzenius <liw@liw.fi> | 2017-10-16 21:03:22 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2017-10-16 21:03:22 +0300 |
commit | 535a1408ae09cda294bbd9895272fb336989f159 (patch) | |
tree | 4a8f3eb633bf6e7344693c1386e97dbf74547c72 /icktool | |
parent | 36a2b7cf4f38ee3ac837eb12213658cb2362baa2 (diff) | |
download | ick2-535a1408ae09cda294bbd9895272fb336989f159.tar.gz |
Add: icktool scope subcommand
Diffstat (limited to 'icktool')
-rwxr-xr-x | icktool | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -78,6 +78,10 @@ class Icktool(cliapp.Application): if not self.settings['verify-tls']: logging.captureWarnings(True) + def cmd_scopes(self, args): + for scope in self.settings['scope']: + sys.stdout.write('{}\n'.format(scope)) + def cmd_token(self, args): token = self._new_token() sys.stdout.write(token) |