FuelLabs/sway

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

Open

#3831 aperta il 19 gen 2023

Vedi su GitHub
 (4 commenti) (0 reazioni) (0 assegnatari)Rust (5421 fork)batch import
ODHack13forcgood first issuemay be rewarded

Metriche repository

Star
 (61.702 star)
Metriche merge PR
 (Merge medio 22h 6m) (16 PR mergiate in 30 g)

Descrizione

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.

Guida contributor