crpc_fn

Attribute Macro crpc_fn 

Source
#[crpc_fn]
Expand description

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.