filecoin-project / filecoin-project/venus

[chore] cli clean up / CLI清理

Open
#5,674 1 comment 0 reactions 0 assignees View on GitHub
C-enhancement design good first issue P3
Dominant language
Go
Stars
2.1k
Forks
493
PR merge metrics
No merged PRs in 30d

Description

> - Change to cctx.NArg() instead of cctx.Args().xxx
> - Add ArgsUsage to commands that was missing it
> - Add check for args and print help on functions that did not have it

关联:
- [ ] https://github.com/filecoin-project/lotus/pull/10114

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.