#[non_exhaustive]pub struct Cli {Show 22 fields
pub format_in: Option<String>,
pub items: Option<String>,
pub columns: Option<Vec<String>>,
pub score: Option<String>,
pub scale: Option<f64>,
pub invert: bool,
pub preset: Option<String>,
pub by: Option<Vec<String>>,
pub strategy: Option<String>,
pub bands: Option<u8>,
pub top: Option<u32>,
pub within: Vec<String>,
pub cluster: Vec<String>,
pub page: Option<u32>,
pub per_page: Option<u32>,
pub format: Option<OutputFormat>,
pub json: bool,
pub color: Option<String>,
pub explain: bool,
pub schema: bool,
pub interactive: bool,
pub verbose: bool,
}Expand description
Parsed CLI surface for the face binary.
Each flag is documented inline; see docs/design.md §3 for the
authoritative table. The shape is derive-style clap so we can
generate --help from the doc comments and rebind without a custom
builder.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.format_in: Option<String>Force input format (skip sniffing). One of: json, jsonl, csv, tsv.
items: Option<String>jq-like path to the items array within the input document.
columns: Option<Vec<String>>Comma-separated column names for headerless CSV.
score: Option<String>jq-like path to the score field on each item.
scale: Option<f64>Optional max scale used to normalize raw score values for --invert.
invert: boolFlip score polarity (lower-is-better → higher-is-better).
preset: Option<String>Named preset (confidence, concept-search, bm25, severity,
or user-defined).
by: Option<Vec<String>>Field(s) to group by; comma chains nested axes (e.g. file,module).
strategy: Option<String>Force a strategy: exact, prefix, top, bands, quantiles, natural, similar.
Optional payload: top=10, bands=5, prefix=2, similar=token.
bands: Option<u8>Number of bands for bands strategy (default 5).
top: Option<u32>Number of clusters for top strategy.
within: Vec<String>Add a sub-axis. Repeatable — each --within adds a level of nesting.
cluster: Vec<String>Drill into a specific cluster. Accepts a 1-based top-level
ordinal (1), canonical comma form (file:src/cli.rs,score:excellent),
or axis=value (repeatable).
page: Option<u32>Page number (1-based).
per_page: Option<u32>Items per page.
format: Option<OutputFormat>Output format: human (default), json, json-flat, jsonl-items, tsv, csv, markdown.
json: boolShortcut for --format=json.
color: Option<String>Color policy: auto (default), always, never.
explain: boolPrint full detection reasoning, then exit.
schema: boolPrint input shape, then exit.
interactive: boolDrill through clusters with an inline picker when attached to a TTY.
verbose: boolEmit provenance line and skip warnings on stderr.
Trait Implementations§
Source§impl Args for Cli
impl Args for Cli
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl CommandFactory for Cli
impl CommandFactory for Cli
Source§impl FromArgMatches for Cli
impl FromArgMatches for Cli
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.