bytecodealliance / wasm-pkg-tools

Apache License 2.0
48 stars 11 forks source link

Tell user where to get 'wit' #89

Closed pothos closed 3 weeks ago

pothos commented 3 weeks ago

The help output for wkg get says to use wit get for puling a component. This sentence reads like it is a CLI tool (and not talking about the WIT format) and it would be good to have a link on where to get it. If it's a CLI tool, what repo is wit developed in?

calvinrp commented 3 weeks ago

That's a typo in the docs. Should read wkg get not wit get. Sorry for the confusion.

There is a wit CLI tool for authoring wit packages and publishing. It lives in the cargo component repo. But it is slated to be deprecated soon. To be replaced with a wkg wit subcommand.

@thomastaylor312 is the doc generated from this comment?

calvinrp commented 3 weeks ago

Fixed in #90 . If you update to the latest release 0.5.1, should be fixed. cargo install wkg

calvinrp commented 3 weeks ago

Thanks for reporting this, BTW. Definitely something that needed fixing