This repository was archived by the owner on Feb 12, 2024. It is now read-only.
This repository was archived by the owner on Feb 12, 2024. It is now read-only.
cli: doc: OPTIONS output not working #331
Closed
Description
When I run the --help
command in the CLI for js-ipfs commands, I get the following:
$ node src/cli/bin.js id --help
Usage: bin.js id [OPTIONS]
Shows IPFS Node ID info
What does [OPTIONS]
mean? Shouldn't it show the options? Let's look at id.js:
module.exports = Command.extend({
desc: 'Shows IPFS Node ID infos',
options: {
format: {
alias: 'f',
type: 'string'
}
},
run: (name) => {
...
}
})
Why isn't [--format | -f]
output?
Metadata
Metadata
Assignees
Labels
No labels