File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -73,13 +73,13 @@ const TX_GRACEFUL_BLOCK_DELTA: u32 = 20;
7373 rename_all = "kebab-case"
7474) ]
7575#[ command( multicall( true ) ) ]
76- pub struct MidenClientCLI {
76+ pub struct MidenClientCli {
7777 #[ command( subcommand) ]
7878 behavior : Behavior ,
7979}
8080
81- impl From < MidenClientCLI > for Cli {
82- fn from ( value : MidenClientCLI ) -> Self {
81+ impl From < MidenClientCli > for Cli {
82+ fn from ( value : MidenClientCli ) -> Self {
8383 match value. behavior {
8484 Behavior :: MidenClient { cli } => cli,
8585 Behavior :: External ( args) => Cli :: parse_from ( args) . set_external ( ) ,
Original file line number Diff line number Diff line change 11use clap:: FromArgMatches ;
2- use miden_client_cli:: { Cli , MidenClientCLI } ;
2+ use miden_client_cli:: { Cli , MidenClientCli } ;
33
44extern crate std;
55
@@ -8,9 +8,9 @@ async fn main() -> miette::Result<()> {
88 tracing_subscriber:: fmt:: init ( ) ;
99
1010 // read command-line args
11- let input = <MidenClientCLI as clap:: CommandFactory >:: command ( ) ;
11+ let input = <MidenClientCli as clap:: CommandFactory >:: command ( ) ;
1212 let matches = input. get_matches ( ) ;
13- let parsed = MidenClientCLI :: from_arg_matches ( & matches) . unwrap_or_else ( |err| err. exit ( ) ) ;
13+ let parsed = MidenClientCli :: from_arg_matches ( & matches) . unwrap_or_else ( |err| err. exit ( ) ) ;
1414 let cli: Cli = parsed. into ( ) ;
1515
1616 // execute cli action
You can’t perform that action at this time.
0 commit comments