Attribute Macro command
#[command]Expand description
Marks one synchronous Rust function as a generated ShellAPI handler.
Pass the generated endpoint type; the macro resolves its COMMAND
descriptor automatically. The TypeScript contract remains authoritative,
so Rust checks browser, parameter, result, and error types at compile
time.