blob: 0dcdc459605dba35d41464245d2e17277d48d14d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// Doc Not Optimize
use std::marker::PhantomData;
use crate::{PickerArg, PickerArgs};
/// 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,
};
|