Expand description
CLI — thin shim that parses args, dispatches service actions, formats output.
The CLI uses the same service layer as the MCP server. No business logic lives here.
Customize: add subcommands to match your service’s operations.
§Usage
soma greet --name Alice
soma echo --message "Hello!"
soma status
soma doctor [--json]Re-exports§
pub use setup::apply_plugin_options;pub use setup::run_setup;pub use setup::SetupCommand;
Modules§
- doctor
- doctor — pre-flight environment validation command.
- setup
- Plugin setup and repair commands.
- watch
example watch— health monitor for the MCP HTTP server.
Structs§
Enums§
Constants§
Traits§
Functions§
- confirm_
destructive_ action_ allowed - parse_
args - Parse CLI arguments from
std::env::args(). - parse_
args_ from - run
- Run a CLI command, print the result, and exit.
- run_
non_ executing_ provider_ command - run_
package_ generate - usage