aboutsummaryrefslogtreecommitdiff
path: root/mling/src/cli.rs
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-04-28 16:27:10 +0800
committer魏曹先生 <1992414357@qq.com>2026-04-28 16:27:10 +0800
commit6a907b71f945bf49d27a001f279bf116ad7297d8 (patch)
tree021a01d1d4c1cf1439ed19aca65e45b247fba9d1 /mling/src/cli.rs
parent881e7399b2417c32fa996d94c6b389c1e06d8eb1 (diff)
Rename refresh command to install
Diffstat (limited to 'mling/src/cli.rs')
-rw-r--r--mling/src/cli.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/mling/src/cli.rs b/mling/src/cli.rs
index e0dfbe6..ed5dd06 100644
--- a/mling/src/cli.rs
+++ b/mling/src/cli.rs
@@ -14,8 +14,8 @@ pub use namespace_mgr::*;
pub mod read;
pub use read::*;
-pub mod refresh;
-pub use refresh::*;
+pub mod install;
+pub use install::*;
pub fn cli_entry() {
let mut program = ThisProgram::new();
@@ -31,7 +31,7 @@ pub fn cli_entry() {
SetTrustNamespaceCommand,
RemoveNamespaceCommand,
));
- program.with_dispatcher(RefreshCommand);
+ program.with_dispatcher(InstallCommand);
program.with_dispatchers((
ReadTargetDirCommand,
ReadWorkspaceRootCommand,