From 13618d4bcc89079155a9fcadc3cbe2c07d2aa972 Mon Sep 17 00:00:00 2001 From: Andy <35195301+Andy53@users.noreply.github.com> Date: Mon, 17 Jul 2023 16:59:40 -0600 Subject: [PATCH] feat: Add `nargo build` as alias for `nargo compile` (#1940) * added build as alias for compile * added build as an alias --------- Co-authored-by: kevaundray --- crates/nargo_cli/src/cli/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/nargo_cli/src/cli/mod.rs b/crates/nargo_cli/src/cli/mod.rs index 91ad14f9458..d77ca55f81a 100644 --- a/crates/nargo_cli/src/cli/mod.rs +++ b/crates/nargo_cli/src/cli/mod.rs @@ -48,6 +48,7 @@ pub(crate) struct NargoConfig { enum NargoCommand { Check(check_cmd::CheckCommand), CodegenVerifier(codegen_verifier_cmd::CodegenVerifierCommand), + #[command(alias = "build")] Compile(compile_cmd::CompileCommand), New(new_cmd::NewCommand), Execute(execute_cmd::ExecuteCommand),