aboutsummaryrefslogtreecommitdiff
path: root/mingling/src/constants
diff options
context:
space:
mode:
Diffstat (limited to 'mingling/src/constants')
-rw-r--r--mingling/src/constants/exit_codes.rs1
-rw-r--r--mingling/src/constants/picker.rs17
2 files changed, 3 insertions, 15 deletions
diff --git a/mingling/src/constants/exit_codes.rs b/mingling/src/constants/exit_codes.rs
index 2359f42..001ba07 100644
--- a/mingling/src/constants/exit_codes.rs
+++ b/mingling/src/constants/exit_codes.rs
@@ -1,3 +1,4 @@
+// Doc Not Optimize
/// Exit code indicating successful command execution.
pub const EXIT_SUCCESS: i32 = 0;
diff --git a/mingling/src/constants/picker.rs b/mingling/src/constants/picker.rs
index f2a448b..e959d4a 100644
--- a/mingling/src/constants/picker.rs
+++ b/mingling/src/constants/picker.rs
@@ -1,20 +1,7 @@
+// Doc Not Optimize
+use arg_picker::{PickerArg, value::Flag};
use std::marker::PhantomData;
-use arg_picker::{PickerArg, PickerArgs, value::Flag};
-
-/// Remaining positional arguments (anything not consumed as an option).
-/// - `full`: `[]` (empty — not triggered by any `--` prefix).
-/// - `short`: (none)
-/// - `positional`: `false` (this is a meta‑argument that collects everything left).
-/// This constant is used internally to access any leftover arguments after
-/// all defined flags/options have been processed.
-pub const REMAINS: PickerArg<PickerArgs> = PickerArg::<PickerArgs> {
- full: &[],
- short: None,
- positional: false,
- internal_type: PhantomData,
-};
-
/// Help flag: display usage information.
/// - `full`: `["help"]`
/// - `short`: `'h'`