Skip to content

Commit 3f35b2f

Browse files
rename: MidenClientCLI -> MidenClientCli
Co-authored-by: igamigo <[email protected]>
1 parent 01d4588 commit 3f35b2f

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

bin/miden-cli/src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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(),

bin/miden-cli/src/main.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
use clap::FromArgMatches;
2-
use miden_client_cli::{Cli, MidenClientCLI};
2+
use miden_client_cli::{Cli, MidenClientCli};
33

44
extern 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

0 commit comments

Comments
 (0)