ddopson / underscore-cli

Command-line utility-belt for hacking JSON and Javascript.
Other
1.72k stars 83 forks source link

Command help formats is not available #20

Open juhamust opened 11 years ago

juhamust commented 11 years ago

The help command refers to get more details about formatting using the command help formats:

Options:

-h, --help            output usage information
-V, --version         output the version number
-i, --in <filename>   The data file to load.  If not specified, defaults to stdin.
--infmt <format>      The format of the input data. See 'help formats'
-o, --out <filename>  The output file.  If not specified, defaults to stdout.
--outfmt <format>     The format of the output data. See 'help formats'

However, I fail to get any:

> underscore help formats
Unknown command: formats

Either help is missing or the message is misleading?

munkee commented 11 years ago

It's also missing underscore help template which it says it has

grantrostig commented 9 years ago

Can't get help on formats, but the help command seems to operate in an undocumented, or at least difficult to understand manner: this works:
underscore pretty -h

this is what I expected to work but doesn't: underscore help pretty

The only thing where using "help" seems to work at is: underscore help

cClaude commented 1 year ago

Theses issues are about same subject :