bytecodealliance / bytecodealliance/cargo-component

`cargo component serve` does not show in `cargo component --help`

Open
#326 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Rust
Stars
593
Forks
68
PR merge metrics
No merged PRs in 30d

Description

`cargo component serve` does not show in `cargo component --help` and this is because `serve` isn't a directly supported `cargo-component` command, like:

https://github.com/bytecodealliance/cargo-component/blob/50634428915707b34b49bebe85efb48ca82b27ca/src/bin/cargo-component.rs#L67-L76

And, instead, it is a `cargo` command (not really, but, as per the code's nomenclature, yes):

https://github.com/bytecodealliance/cargo-component/blob/50634428915707b34b49bebe85efb48ca82b27ca/src/lib.rs#L74-L83

I think it would be helpful to add `serve` as a proper `cargo-component` command for discoverability of the feature*.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.