mirror of
https://github.com/edg-l/edlang.git
synced 2024-10-17 22:53:42 +00:00
feat: add aliases for new and build
This commit is contained in:
parent
9b7cddd399
commit
4aa8b2078e
|
@ -23,6 +23,7 @@ pub struct Cli {
|
|||
#[derive(Subcommand, Debug)]
|
||||
enum Commands {
|
||||
/// Initialize a project
|
||||
#[clap(alias = "n")]
|
||||
New {
|
||||
path: PathBuf,
|
||||
|
||||
|
@ -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)]
|
||||
|
|
Loading…
Reference in a new issue