pub struct QueryArgs {Show 33 fields
pub query: String,
pub contract_dir: PathBuf,
pub regex: bool,
pub literal: bool,
pub case_sensitive: bool,
pub limit: usize,
pub obligation: Option<String>,
pub depends_on: Option<String>,
pub depended_by: Option<String>,
pub unproven: bool,
pub min_score: Option<f64>,
pub min_level: Option<String>,
pub score: bool,
pub graph: bool,
pub paper: bool,
pub proof_status: bool,
pub binding_info: bool,
pub binding_gaps: bool,
pub diff: bool,
pub pagerank: bool,
pub call_sites: bool,
pub violations: bool,
pub coverage_map: bool,
pub project: Option<String>,
pub include_project: Option<PathBuf>,
pub all_projects: bool,
pub tier: Option<u8>,
pub class: Option<char>,
pub kind: Option<String>,
pub rebuild_index: bool,
pub binding: Option<PathBuf>,
pub format: String,
pub exit_code: bool,
}Expand description
Arguments for the pv query command — extracted for file health compliance.
Fields§
§query: StringSearch query string
contract_dir: PathBufDirectory containing contract YAML files
regex: boolUse regex matching instead of semantic search
literal: boolUse literal substring matching
case_sensitive: boolForce case-sensitive matching
limit: usizeMaximum number of results
obligation: Option<String>Filter by obligation type
depends_on: Option<String>Filter to contracts depending on this stem
depended_by: Option<String>Filter to contracts depended on by this stem
unproven: boolShow only contracts with unproven obligations
min_score: Option<f64>Minimum score threshold
min_level: Option<String>Minimum proof level (L1-L5)
score: boolInclude contract scores in output
graph: boolInclude dependency graph info
paper: boolInclude paper references
proof_status: boolInclude proof level (L1-L5)
binding_info: boolInclude binding status per equation
binding_gaps: boolShow only contracts with unimplemented bindings
diff: boolShow last git modification date
pagerank: boolShow dependency pagerank score
call_sites: boolShow cross-project call sites
violations: boolShow contract violations in consumer projects
coverage_map: boolShow cross-project coverage matrix
project: Option<String>Filter cross-project results to a named project
include_project: Option<PathBuf>Add an explicit project path to the cross-project scan
all_projects: boolForce full cross-project scan
tier: Option<u8>Filter by contract tier (1-7)
class: Option<char>Filter by kernel equivalence class (A-E)
kind: Option<String>Filter: kernel|registry|model-family|pattern|schema
rebuild_index: boolForce rebuild of the contract index
binding: Option<PathBuf>Path to binding registry YAML
format: StringOutput format: text, json, or markdown
exit_code: boolExit with status 1 if no results match
Trait Implementations§
Source§impl Args for QueryArgs
impl Args for QueryArgs
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 FromArgMatches for QueryArgs
impl FromArgMatches for QueryArgs
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.