Comment by rk06
12 hours ago
I don't think so. If someone runs a tool without args, the tool should do equivalent of "tool --help"
It is bad ux.
12 hours ago
I don't think so. If someone runs a tool without args, the tool should do equivalent of "tool --help"
It is bad ux.
I expect a file formatter to format the files when I call it. Anything else would be surprising to me.
a new user should not expected to know whether to use "--info", "--help", or "-info" or "/info"
A power user can just pass the right params. Besides, it is not that hard to support "--yolo" parameter for that use case
Would you enjoy writing `rm --yolo file` instead of `rm file` every time?
4 replies →
I know feels aren't the objective truth but I feel like most people would default to running "new-cli-tool --help" first thing as a learned (defensive) habit. After all quite a bit of stuff that runs in a terminal emulator does something when ran without arguments or flags.