trunk-rs / trunk

Build, bundle & ship your Rust WASM application to the web.
https://trunkrs.dev/
Apache License 2.0
3.5k stars 251 forks source link

Inconsistancy between docs and actual command for `trunk config schema` #887

Closed bicarlsen closed 49 minutes ago

bicarlsen commented 1 week ago

In the guide the command for generating the schema is

trunk config schema

but the actual command is

trunk config generate-schema

because Trunk derives clap::Parser and the subcommand is GenerateSchema.

ctron commented 1 week ago

Thanks for reporting this. Could you come up with a PR for this. That would be awesome!

bicarlsen commented 6 days ago

Yeah, which do you prefer?

  1. Modify the docs to match the command
  2. Modify the command to match the docs
ctron commented 2 days ago

Yeah, which do you prefer?

good point :grinning:

1. Modify the docs to match the command

I think the command itself it good. Just change the docs.

ctron commented 49 minutes ago

Closed by https://github.com/trunk-rs/trunk/pull/895