zowe / zowe-cli

Zowe CLI
Eclipse Public License 2.0
113 stars 88 forks source link

prompting inconsistencies #1931

Open dkelosky opened 3 years ago

dkelosky commented 3 years ago

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:

zFernand0 commented 3 years ago

zowe/zowe-cli#1939 might be related to this 😋

t1m0thyj commented 2 years ago

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?