FuelLabs/sway

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

Open

#3.831 aberto em 19 de jan. de 2023

Ver no GitHub
 (4 comments) (0 reactions) (0 assignees)Rust (5.421 forks)batch import
ODHack13forcgood first issuemay be rewarded

Métricas do repositório

Stars
 (61.702 stars)
Métricas de merge de PR
 (Mesclagem média 22h 6m) (16 fundiu PRs em 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.

Guia do colaborador