Skip to content

Commit

Permalink
feat: add aliases for new and build
Browse files Browse the repository at this point in the history
  • Loading branch information
edg-l committed Mar 27, 2024
1 parent 9b7cddd commit 4aa8b20
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions edb/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ pub struct Cli {
#[derive(Subcommand, Debug)]
enum Commands {
/// Initialize a project
#[clap(alias = "n")]
New {
path: PathBuf,

Expand All @@ -39,6 +40,7 @@ enum Commands {
lib: bool,
},
/// Build a project
#[clap(alias = "b")]
Build {
/// Build for release with all optimizations.
#[arg(short, long, default_value_t = false)]
Expand Down

0 comments on commit 4aa8b20

Please sign in to comment.