From 63d414c06a399525601e3db11dc48b180e93c2d8 Mon Sep 17 00:00:00 2001 From: Nick Furfaro Date: Wed, 22 Nov 2023 06:54:33 -0500 Subject: [PATCH] feat: enable the `fmt` command in the help menu (#3328) Co-authored-by: kevaundray --- tooling/nargo_cli/src/cli/fmt_cmd.rs | 1 + tooling/nargo_cli/src/cli/mod.rs | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/tooling/nargo_cli/src/cli/fmt_cmd.rs b/tooling/nargo_cli/src/cli/fmt_cmd.rs index eaa66fff02b..638eaa64b3e 100644 --- a/tooling/nargo_cli/src/cli/fmt_cmd.rs +++ b/tooling/nargo_cli/src/cli/fmt_cmd.rs @@ -11,6 +11,7 @@ use crate::errors::CliError; use super::NargoConfig; +/// Format the Noir files in a workspace #[derive(Debug, Clone, Args)] pub(crate) struct FormatCommand {} diff --git a/tooling/nargo_cli/src/cli/mod.rs b/tooling/nargo_cli/src/cli/mod.rs index 8d22fb1b204..88c6b57a98c 100644 --- a/tooling/nargo_cli/src/cli/mod.rs +++ b/tooling/nargo_cli/src/cli/mod.rs @@ -60,7 +60,6 @@ pub(crate) struct NargoConfig { enum NargoCommand { Backend(backend_cmd::BackendCommand), Check(check_cmd::CheckCommand), - #[command(hide = true)] // Hidden while the feature has not been extensively tested Fmt(fmt_cmd::FormatCommand), CodegenVerifier(codegen_verifier_cmd::CodegenVerifierCommand), #[command(alias = "build")]