Based on #2948
Current state:
jf config add artifactory-live --user=${USERNAME} --url=https://<REDACTED> --interactive=false
jf config use artifactory-live
jf login
the jf login command prompts me to select a server for web login:
Use the arrow keys to navigate: ↓ ↑ → ←
Select whether to create a new server configuration or to web login to an existing one:
🐸 [New Server]
artifactory-live
I want to avoid the prompt and directly open the browser web-login.
What i would like to have
Something like jf login --server-id <server> would be handy to mitigate user errors
I guess it would be possible to just directly call existingServerLogin(serverId string) if a --server-id is passed to the command or so
Based on #2948
Current state:
the
jf logincommand prompts me to select a server for web login:I want to avoid the prompt and directly open the browser web-login.
What i would like to have
Something like
jf login --server-id <server>would be handy to mitigate user errorsI guess it would be possible to just directly call
existingServerLogin(serverId string)if a --server-id is passed to the command or so