Crate command_rpc
source ·Attribute Macros§
- This attribute can be used to mark functions that should be available in the cli. This works lika a subcommand without nested commands; function parameters are used as arguments for the cli. The expansion consists of a struct that holds the arguments and a function that calls the original function with the arguments.
- This attribute can be used to mark modules that should be available in the cli. This works like a subcommand with nested commands; the module name is used as the subcommand name.