Closed victorskl closed 4 years ago
Login subcommand comes with PR https://github.com/victorskl/yawsso/pull/15
Up for user test with RC2 now:
pip install -U yawsso==0.4.0rc2
Works like a charm, small detail though:
(base) romanlaptop:~ romanvg$ yawsso version
yawsso 0.4.0rc2
(base) romanlaptop:~ romanvg$ yawsso login -e
usage: yawsso [-h] [--default] [--default-only] [-p [[...]]] [-b] [-d] [-t]
[-e] [-v]
...
yawsso: error: unrecognized arguments: -e
(base) romanlaptop:~ romanvg$ yawsso -e login
Attempting to automatically open the SSO authorization page in your default browser.
(... all good ...)
Either the usage help message should indicate positional commands (yawsso <COMMAND> <flags>
or allow flags pre-command, I prefer the former option but it's up to you ;)
Yap; improved it with PR https://github.com/victorskl/yawsso/pull/16. The -e
works either side now in pip install -U yawsso==0.4.0rc3
😃
Closed with https://github.com/victorskl/yawsso/pull/17 pip install -U yawsso==0.4.0
Now, one has to do:
Add
login
subcommand option, so that:... would invoke SSO login then sync the profile (and/or all named profiles) automatically.