mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-23 18:21:38 +03:00
Disable deploy command
This commit is contained in:
parent
c34a93c5ca
commit
4771cb1e3c
@ -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;
|
||||
|
12
leo/main.rs
12
leo/main.rs
@ -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),
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user