zowe-cli
zowe-cli copied to clipboard
prompting inconsistencies
There are a few differences in the ways users are prompted in Zowe CLI. Should they be the same?
Example 1:
C:\dev>zowe jobs list jobs
Enter user name: ibmuser
Enter password : *******
Example 2:
C:\dev>zowe config secure
Please enter profiles.my_base.properties.user: *****
Please enter profiles.my_base.properties.password: *****
Example 3:
C:\dev>zowex config init
user (User name to authenticate to service on the mainframe.) - blank to skip: *****
password (Password to authenticate to service on the mainframe.) - blank to skip: *****
Saved config template to C:\dev\zowe.config.json
Differences:
- Example 2 prefixes with
please
- Example 1 aligns colons
- Example 1 shows user in plain text
- Examples 2 and Example 3 are prompting for input to the same location in config, but Example 2 lists the property path while Example 1 does not.
zowe/zowe-cli#1939 might be related to this 😋
Received some feedback from @davidkjackson54 related to this:
One small observation re
zowe config secure
command… It isn’t obvious that you can simply ‘click through’ these to leave any existing value as-is.Nor is this mentioned in the help. I think it might be useful to make that more clear that you can just press
to skip?