From 2c5355555126cf0e5e6012fb22457638bce9bf4d Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Fri, 29 May 2026 16:49:35 +0800 Subject: Rename CompletionDispatcher to CMDCompletion and hide internal types --- mling/src/cli.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mling/src/cli.rs') diff --git a/mling/src/cli.rs b/mling/src/cli.rs index 055f69c..87ba4f0 100644 --- a/mling/src/cli.rs +++ b/mling/src/cli.rs @@ -3,7 +3,7 @@ use mingling::{ setup::{BasicProgramSetup, GeneralRendererSetup}, }; -use crate::{CompletionDispatcher, DispatcherNotFound, ThisProgram, display::markdown}; +use crate::{CMDCompletion, DispatcherNotFound, ThisProgram, display::markdown}; pub mod list; pub use list::*; @@ -23,7 +23,7 @@ pub fn cli_entry() { // Plugins program.with_setup(BasicProgramSetup); program.with_setup(GeneralRendererSetup); - program.with_dispatcher(CompletionDispatcher); + program.with_dispatcher(CMDCompletion); if program.pick_global_flag(["-v", "--version"]) { println!("{}", include_str!("../res/version.txt").trim_end()); -- cgit