zalando-stups / pierone-cli

DEPRECATED: Convenient command line client for STUPS' Pier One Docker registry
http://docs.stups.io/en/latest/components/pierone.html#command-line-client
Other
10 stars 13 forks source link

Add `--url` cli option to `pierone latest` action #16

Closed elgalu closed 8 years ago

elgalu commented 9 years ago

New feature request:

pierone latest --url $MY_OPEN_SOURCE_PIERONE $TEAM $ARTIFACT
#=> Error: no such option: --url

Else it always seem to look in my $PRIVATE pierone server, i.e. looks at the config files but is inconvenient to be changing it when working on different pierone servers.

hjacobs commented 9 years ago

True, we have to do something about that (also for all the other commands)

sarnowski commented 8 years ago

Not only --url but also the -U option must be supported consistently across all our CLIs.

hjacobs commented 8 years ago

Fixed in https://github.com/zalando-stups/pierone-cli/releases/tag/1.0.7

The "-U" option will not be added as "pierone" now uses the generic "zign.api.get_token()" function which allows configuring the user name in Zign.