From fc0df246c2f55985de1813a9c30eb0c6e61c8a99 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Mon, 3 Aug 2026 20:30:33 +0800 Subject: feat(cli): add dynamic completion scripts and global help Enable the dispatch_tree and comp features to generate completion scripts during build and register global help and completion support in the main entry point. --- mingling_cli/src/metadata.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'mingling_cli/src/metadata.rs') diff --git a/mingling_cli/src/metadata.rs b/mingling_cli/src/metadata.rs index 2e7aeef..f11ae36 100644 --- a/mingling_cli/src/metadata.rs +++ b/mingling_cli/src/metadata.rs @@ -4,7 +4,7 @@ use mingling::{ macros::{buffer, group, program_setup, r_println, renderer, renderify}, }; -use crate::metadata::{cmd_metadata::CMDMetadata, setup::CargoMetadataSetup}; +use crate::metadata::setup::CargoMetadataSetup; pub mod cmd_metadata; pub mod setup; @@ -12,7 +12,6 @@ pub mod setup; #[program_setup] pub fn mingling_metadata_setup(program: &mut Program) { program.with_setup(CargoMetadataSetup); - program.with_dispatcher(CMDMetadata); } group!(Metadata); -- cgit