Skip to content

Commit b2e2b78

Browse files
author
Matthew Fisher
committed
feat(client): add auth command
It's handy to have a `deis help auth` command which will show off the documentation for the auth commands available to the user.
1 parent e5f438b commit b2e2b78

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

client/deis.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -583,6 +583,19 @@ def apps_run(self, args):
583583
else:
584584
raise ResponseError(response)
585585

586+
def auth(self, args):
587+
"""
588+
Valid commands for auth:
589+
590+
auth:register register a new user
591+
auth:cancel remove the current account
592+
auth:login authenticate against a controller
593+
auth:logout clear the current user session
594+
595+
Use `deis help [command]` to learn more
596+
"""
597+
return
598+
586599
def auth_register(self, args):
587600
"""
588601
Register a new user with a Deis controller

0 commit comments

Comments
 (0)