Skip to content

Commit 512bd71

Browse files
committed
ref: renamed definition into search
1 parent 4dc129f commit 512bd71

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

crates/cli/src/command/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
pub mod definition;
1+
pub mod search;
22
pub mod download;
33
pub mod feature;
44
pub mod report;

crates/cli/src/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ enum Commands {
3636
path: Option<String>,
3737
},
3838
/// Look up a specific definition.
39-
Definition {
39+
Search {
4040
/// Required name of the definition.
4141
#[arg(short, long)]
4242
name: String,
@@ -65,7 +65,7 @@ async fn main() {
6565
match cli.command {
6666
Commands::Report { path } => command::report::report_errors(path),
6767
Commands::Feature { name, path } => command::feature::search_feature(name, path),
68-
Commands::Definition { name, path } => command::definition::search_definition(name, path),
68+
Commands::Search { name, path } => command::search::search_definition(name, path),
6969
Commands::Download { tag, features } => {
7070
command::download::handle_download(tag, features).await
7171
}

0 commit comments

Comments
 (0)