polkadot-cli 0.14.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +18 -0
- package/dist/cli.mjs +1245 -542
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -465,6 +465,24 @@ dot chain --help # same as `dot chain` — shows chain actions
|
|
|
465
465
|
dot hash --help # same as `dot hash` — shows algorithms and examples
|
|
466
466
|
```
|
|
467
467
|
|
|
468
|
+
#### Item-level help
|
|
469
|
+
|
|
470
|
+
Use `--help` on any fully-qualified dot-path to see metadata detail and category-specific usage hints — all offline, no chain connection required:
|
|
471
|
+
|
|
472
|
+
```bash
|
|
473
|
+
dot tx.System.remark --help # call args, docs, and tx options
|
|
474
|
+
dot query.System.Account --help # storage type, key/value info, and query options
|
|
475
|
+
dot const.Balances.ExistentialDeposit --help # constant type and docs
|
|
476
|
+
dot events.Balances.Transfer --help # event fields and docs
|
|
477
|
+
dot errors.Balances.InsufficientBalance --help # error docs
|
|
478
|
+
```
|
|
479
|
+
|
|
480
|
+
For `tx` commands, omitting both `--from` and `--encode` shows this same help output instead of an error:
|
|
481
|
+
|
|
482
|
+
```bash
|
|
483
|
+
dot tx.System.remark 0xdead # shows call help (no error)
|
|
484
|
+
```
|
|
485
|
+
|
|
468
486
|
### Global options
|
|
469
487
|
|
|
470
488
|
| Flag | Description |
|