Switch default behaviour of 'gui' w.r.t. browser
Bug #1631438 reported by
Mark Shuttleworth
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Ian Booth |
Bug Description
On average, I'm finding that --no-browser is needed. I suspect it's true that most people are SSH'ing to the place they are running juju commands. So let's make --no-browser the default behaviour, please. In general I think it's bad practice to assume the existence of a graphical environment around CLI tools (but it's OK to make those optional).
So please add --browser as an option to 'juju gui', and deprecate (with no-op) --no-browser.
Also, I think --credentials or would be better than --show-credentials, thoughts?
Changed in juju: | |
status: | New → Triaged |
importance: | Undecided → High |
milestone: | none → 2.1.0 |
tags: | added: usability |
Changed in juju: | |
assignee: | nobody → Ian Booth (wallyworld) |
status: | Triaged → In Progress |
Changed in juju: | |
status: | In Progress → Fix Committed |
Changed in juju: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
We also have
juju credentials --format yaml --show-secrets
where --show-secrets is optional just like --show-credentials is for juju gui.
--show-credentials or --show-secrets very explicitly tells the user what to expect the CLI to do.
--credentials (to me) implies that it is a named argument expecting a value to be supplied, ie
$ juju foo --credentials= mysecret
Actually, "credentials" is a misnomer as there's only one of them - in Juju the singular is what has been adopted FWIW. eg "juju add-credential" or the prompt to "Enter credential name".
So for consistency it should be --show-credential or --credential.
IMO --show- credential( s) is more clear, without the plural for consistency.
If the guidance remains to adopt --credential(s), that can easily be done.