add-credential input field should support tab completion

Bug #1576295 reported by Jorge Castro
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Triaged
Medium
Unassigned

Bug Description

The field to input the file name for a local json file in add-credential gets the job done, but it's kind of crude.

It would be nice if it supported tab completion and other things you'd expect, like the delete key, etc. Especially since google gave me a file with a huge filename:

    $ juju add-credential google
    credential name: jorge-juju
    select auth-type [jsonfile*, oauth2]: jsonfile
    file: /home/jorge/cloud-creds/client_secret_712944951979-7ehespmks8u1p4bv23psulvo1k4pkqh.apps.googleusercontent.com.json
    credentials added for cloud google

Changed in juju-core:
status: New → Triaged
importance: Undecided → Medium
tags: added: juju-release-support usability
Changed in juju-core:
milestone: none → 2.0.0
affects: juju-core → juju
Changed in juju:
milestone: 2.0.0 → none
milestone: none → 2.0.0
Curtis Hovey (sinzui)
Changed in juju:
milestone: 2.0.0 → 2.0.1
Curtis Hovey (sinzui)
Changed in juju:
milestone: 2.0.1 → none
Revision history for this message
Anastasia (anastasia-macmood) wrote :

Arrow keys is the other addition to the list in the description.

Revision history for this message
Anastasia (anastasia-macmood) wrote :

I have found a bigger umbrella report which talks about Juju tab completion in prompts in general. I'll mark this is a duplicate since this needs to be addressed globally for all Juju commands rather than individually for credentials commands.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.