mirror of
https://github.com/Start9Labs/rpc-toolkit.git
synced 2026-03-30 04:11:58 +00:00
fix rpc_only
This commit is contained in:
@@ -886,7 +886,7 @@ fn cli_handler(
|
|||||||
match opt {
|
match opt {
|
||||||
Options::Leaf(opt) if matches!(opt.exec_ctx, ExecutionContext::RpcOnly(_)) => quote! {
|
Options::Leaf(opt) if matches!(opt.exec_ctx, ExecutionContext::RpcOnly(_)) => quote! {
|
||||||
pub fn cli_handler#generics(
|
pub fn cli_handler#generics(
|
||||||
_ctx: (),
|
_ctx: GenericContext,
|
||||||
_parent_data: #parent_data_ty,
|
_parent_data: #parent_data_ty,
|
||||||
_rt: Option<::rpc_toolkit::command_helpers::prelude::Runtime>,
|
_rt: Option<::rpc_toolkit::command_helpers::prelude::Runtime>,
|
||||||
_matches: &::rpc_toolkit::command_helpers::prelude::ArgMatches<'_>,
|
_matches: &::rpc_toolkit::command_helpers::prelude::ArgMatches<'_>,
|
||||||
|
|||||||
Reference in New Issue
Block a user