Skip to main content

FILTER_HELP

Constant FILTER_HELP 

Source
pub const FILTER_HELP: &str = "\
Filter surface:
  Named-flag shortcuts (frozen — no new ones are added; use --filter
  for any other schema-declared filterable field):
    --type <T>          Filter by entity_type (engine first-class axis).
    --level <L>         Filter by level (e.g. M0, M1).
    --status <S>        Filter by status (e.g. active, closed).
    --edge-type <E>     Filter by edge type (engine first-class axis).

  Generic equality filter:
    --filter KEY=VALUE  Filter by any schema-declared `filterable: equality`
                        field. Repeatable. Examples:
                          --filter tags=auth
                          --filter scope=subsystem
                          --filter confidence=high
                          --filter tags=auth --filter level=M0
  Unknown keys are silently dropped by the engine and surface as a
  warning. Named-flag shortcuts and `--filter` populate the same
  underlying filter map; if both set the same key, `--filter` wins
  (declared last in the iteration order).";
Expand description

--help epilog for memstead search and memstead list. Names the five frozen named-flag shortcuts and points at --filter KEY=VALUE as the path to any other schema-declared filterable: equality field.