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 (61,702 stars) (5,421 forks)batch import
ODHack13forcgood first issuemay be rewarded

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

`forc`: Add a manual `clap` `--help` implementation that also lists plugin-provided commands · FuelLabs/sway#3831 | Good First Issue