mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-26 11:06:00 +03:00
Reorder commands
This commit is contained in:
parent
b3ee78155b
commit
89033996cc
26
leo/main.rs
26
leo/main.rs
@ -23,18 +23,18 @@ fn main() -> Result<(), CLIError> {
|
||||
NewCommand::new().display_order(0),
|
||||
InitCommand::new().display_order(1),
|
||||
BuildCommand::new().display_order(2),
|
||||
TestCommand::new().display_order(3),
|
||||
LintCommand::new().display_order(4),
|
||||
AddCommand::new().display_order(5),
|
||||
RemoveCommand::new().display_order(6),
|
||||
SetupCommand::new().display_order(7),
|
||||
ProveCommand::new().display_order(8),
|
||||
RunCommand::new().display_order(9),
|
||||
LoginCommand::new().display_order(10),
|
||||
WatchCommand::new().display_order(3),
|
||||
TestCommand::new().display_order(4),
|
||||
SetupCommand::new().display_order(5),
|
||||
ProveCommand::new().display_order(6),
|
||||
RunCommand::new().display_order(7),
|
||||
LoginCommand::new().display_order(8),
|
||||
AddCommand::new().display_order(9),
|
||||
RemoveCommand::new().display_order(10),
|
||||
PublishCommand::new().display_order(11),
|
||||
DeployCommand::new().display_order(12),
|
||||
CleanCommand::new().display_order(13),
|
||||
WatchCommand::new().display_order(14),
|
||||
LintCommand::new().display_order(14),
|
||||
])
|
||||
.set_term_width(0)
|
||||
.get_matches();
|
||||
@ -43,18 +43,18 @@ fn main() -> Result<(), CLIError> {
|
||||
("new", Some(arguments)) => NewCommand::process(arguments),
|
||||
("init", Some(arguments)) => InitCommand::process(arguments),
|
||||
("build", Some(arguments)) => BuildCommand::process(arguments),
|
||||
("watch", Some(arguments)) => WatchCommand::process(arguments),
|
||||
("test", Some(arguments)) => TestCommand::process(arguments),
|
||||
("lint", Some(arguments)) => LintCommand::process(arguments),
|
||||
("add", Some(arguments)) => AddCommand::process(arguments),
|
||||
("remove", Some(arguments)) => RemoveCommand::process(arguments),
|
||||
("setup", Some(arguments)) => SetupCommand::process(arguments),
|
||||
("prove", Some(arguments)) => ProveCommand::process(arguments),
|
||||
("run", Some(arguments)) => RunCommand::process(arguments),
|
||||
("login", Some(arguments)) => LoginCommand::process(arguments),
|
||||
("add", Some(arguments)) => AddCommand::process(arguments),
|
||||
("remove", Some(arguments)) => RemoveCommand::process(arguments),
|
||||
("publish", Some(arguments)) => PublishCommand::process(arguments),
|
||||
("deploy", Some(arguments)) => DeployCommand::process(arguments),
|
||||
("clean", Some(arguments)) => CleanCommand::process(arguments),
|
||||
("watch", Some(arguments)) => WatchCommand::process(arguments),
|
||||
("lint", Some(arguments)) => LintCommand::process(arguments),
|
||||
_ => unreachable!(),
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user