FuelLabs/sway

`forc`: Add a manual `clap` `--help` implementation that also lists plugin-provided commands

Open

#3,831 opened on Jan 19, 2023

View on GitHub
 (4 comments) (0 reactions) (0 assignees)Rust (5,421 forks)batch import
ODHack13forcgood first issuemay be rewarded

Repository metrics

Stars
 (61,702 stars)
PR merge metrics
 (Avg merge 22h 6m) (16 merged PRs in 30d)

Description

It's nice that we can support new commands via plugins, but the fact that they don't show up in the default --help output is probably confusing for users who 1. don't realise those plugin-commands don't show up in the default help or 2. that some commands are even provided by plugins.

We should consider a manual implementation of --help that includes the plugin-provided commands too.

Contributor guide