diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-08-15 06:07:25 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-08-15 06:07:25 +0800 |
| commit | d175e9fee6ab1f76042280f22a86e5764863c642 (patch) | |
| tree | 3d965bbc10c2049faa2d9d97ddb282940d781277 /mingling/src/res.rs | |
| parent | 57e20f69efea609d8332cc39d223f4aa46be3c78 (diff) | |
feat(res): add Confirmer resource and stdin args setup
Add Confirmer with cached confirmation state and predicate-based
parsing for yes/no and true/false inputs. Add ConfirmerSetup to
register the resource and auto-confirm when skip mode is enabled.
Add StandardInputArgsSetup to read piped stdin as appended arguments.
Reorganize module exports in res and setups.
Diffstat (limited to 'mingling/src/res.rs')
| -rw-r--r-- | mingling/src/res.rs | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/mingling/src/res.rs b/mingling/src/res.rs index a35559c..ab524cd 100644 --- a/mingling/src/res.rs +++ b/mingling/src/res.rs @@ -1,9 +1,11 @@ -// Doc Not Optimize -mod exit_code; -pub use exit_code::*; +#[allow(unused_imports)] +pub use mingling_core::core_res::*; mod dirs; pub use dirs::*; -#[allow(unused_imports)] -pub use mingling_core::core_res::*; +mod exit_code; +pub use exit_code::*; + +mod confirmer; +pub use confirmer::*; |
