wash
wash copied to clipboard
[BUG] Help for plugins under test
When passing help after a plugin is included in wash plugin test, print the help for the plugin not wash plugin test
wash plugin test /Users/bhayes/repos/cosmonic-labs/openapi2mcp/target/wasm32-wasip2/debug/deps/openapi2mcp-6ed575558eb28471.wasm -h
Test run a plugin component to inspect its metadata or run commands and hooks. This parses the arguments just like wash does for an installed plugin, so it's functionally equivalent to run `wash
foo bar --arg 1` and `wash plugin test ./component.wasm bar --arg 1`
Usage: wash plugin test [OPTIONS] <plugin> [arg]...
Arguments:
<plugin> Path to the component or component project to test
[arg]... The arguments to pass to the plugin command
Options:
--hook <type> The hook types to test
-o, --output <OUTPUT> Specify output format (text or json) [default: text]
-l, --log-level <LOG_LEVEL> Set the log level (trace, debug, info, warn, error) [default: info]
--verbose Enable verbose output
-h, --help Print help