CodeChain-io / CodeChain-io/codechain-keystore-cli

Show common parameters in each sub command's help message

Offen
#21 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
16
Forks
4
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Below is printed result from `cckey create --help`

```shell
Usage: create [options]

create a new key

Options:

-p, --passphrase passphrase
-h, --help output usage information
```

The help message does not describe common parameters, like `--account-type`, `--keys-path, and `--network-id`. A user may confuse how she/he set an account type or network id.
We should show common parameters in subcommand's help message.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.