You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
cargo component serve does not show in cargo component --help #326
When I added serve I just treated it as a special case of run. That’s why it’s in CargoCommand instead of Command.
I didn’t know that CargoCommands don’t get help support. Maybe this should be added for all of them, not just serve. It seems a bit strange that --help doesn’t list all commands available. A user has to guess that cargo component has for example its own run command, but fmt is just propagated. The current --help makes it seem like all subcommands except for the ones in the Command enum are propagated.
Activity
primoly commentedon Aug 1, 2024
When I added
serveI just treated it as a special case ofrun. That’s why it’s inCargoCommandinstead ofCommand.I didn’t know that
CargoCommands don’t get help support. Maybe this should be added for all of them, not justserve. It seems a bit strange that--helpdoesn’t list all commands available. A user has to guess thatcargo componenthas for example its ownruncommand, butfmtis just propagated. The current--helpmakes it seem like all subcommands except for the ones in theCommandenum are propagated.