Disable deploy command

This commit is contained in:
Pranav Gaddamadugu 2023-04-15 15:08:51 -07:00
parent c34a93c5ca
commit 4771cb1e3c
2 changed files with 8 additions and 8 deletions

View File

@ -21,8 +21,8 @@ pub use build::Build;
pub mod clean;
pub use clean::Clean;
pub mod deploy;
pub use deploy::Deploy;
// pub mod deploy;
// pub use deploy::Deploy;
pub mod new;
pub use new::New;

View File

@ -77,11 +77,11 @@ enum Commands {
},
// #[structopt(subcommand)]
// Node(Node),
#[structopt(about = "Deploy a program")]
Deploy {
#[structopt(flatten)]
command: Deploy,
},
// #[structopt(about = "Deploy a program")]
// Deploy {
// #[structopt(flatten)]
// command: Deploy,
// },
}
fn set_panic_hook() {
@ -138,7 +138,7 @@ pub fn run_with_args(cli: CLI) -> Result<()> {
Commands::Clean { command } => command.try_execute(context),
Commands::Run { command } => command.try_execute(context),
// Commands::Node(command) => command.try_execute(context),
Commands::Deploy { command } => command.try_execute(context),
// Commands::Deploy { command } => command.try_execute(context),
}
}