zowe-cli icon indicating copy to clipboard operation
zowe-cli copied to clipboard

prompting inconsistencies

Open dkelosky opened this issue 4 years ago • 2 comments

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.

dkelosky avatar Jan 19 '21 15:01 dkelosky

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

zFernand0 avatar Jul 27 '21 12:07 zFernand0

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?

t1m0thyj avatar Jan 27 '22 14:01 t1m0thyj