Xiong has asked for the wisdom of the Perl Monks concerning the following question:
You explore a new command line tool. You have not bothered to read any of its documentation. For that matter, you don't know what the tool might do. An interactive mode is available, a fact of which you may or may not be aware. You decide to type the command with no arguments.
What should the tool do?
What do you expect?
What would annoy you?
What would you prefer?
2010-04-24: I see that some desires are mutually exclusive.
2010-26-06: BrowserUk has an excellent point; slavish conformance to the past is a straightjacket. Several replies note the hazard of typing random commands without first reading the man page, or at least taking the smaller risk of <somecommand -h>. However, I have not chosen to march an animated ASCII Jack-in-the-Box, thumbing its nose, across the terminal window. I have a short usage message now, but I'm keeping the brownie points in mind.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: CLI Default Action
by moritz (Cardinal) on Apr 23, 2010 at 21:41 UTC | |
|
Re: CLI Default Action (Updated)
by BrowserUk (Patriarch) on Apr 23, 2010 at 21:45 UTC | |
|
Re: CLI Default Action
by rowdog (Curate) on Apr 23, 2010 at 22:34 UTC | |
|
Re: CLI Default Action
by toolic (Bishop) on Apr 23, 2010 at 23:27 UTC | |
|
Re: CLI Default Action
by liverpole (Monsignor) on Apr 24, 2010 at 18:15 UTC | |
|
Re: CLI Default Action
by ww (Archbishop) on Apr 23, 2010 at 22:21 UTC | |
|
Re: CLI Default Action
by ikegami (Patriarch) on Apr 24, 2010 at 21:14 UTC | |
|
Re: CLI Default Action
by BrowserUk (Patriarch) on Apr 25, 2010 at 12:38 UTC |