pub struct Cli {Show 14 fields
pub chart_dir: PathBuf,
pub output: OutputArgs,
pub k8s: K8sArgs,
pub crd: CrdArgs,
pub inference: InferenceArgs,
pub diag: DiagArgs,
pub chart: ChartArgs,
pub perf: PerfArgs,
pub config: Option<PathBuf>,
pub no_config: bool,
pub print_effective_config: bool,
pub profile: Option<SchemaProfile>,
pub emission: EmissionArgs,
pub override_schema: Vec<PathBuf>,
}Expand description
Complete command-line interface for one schema-generation invocation.
Fields§
§chart_dir: PathBufChart directory or packaged chart archive to analyze.
output: OutputArgsFinal output and reference-processing options.
k8s: K8sArgsKubernetes schema source and version options.
crd: CrdArgsCRD schema source and lookup options.
inference: InferenceArgsAPI-version inference options.
diag: DiagArgsRuntime diagnostic formatting options.
chart: ChartArgsChart discovery and values-composition options.
perf: PerfArgsPerformance tracing options.
config: Option<PathBuf>Read policy from this file instead of discovering helm-schema.yaml.
Relative paths are resolved from the invocation working directory.
no_config: boolIgnore both discovered and explicit chart policy configuration.
print_effective_config: boolPrint resolved policy values and their sources without analyzing the chart.
profile: Option<SchemaProfile>Select how much analyzed contract evidence is emitted.
lean retains mandatory and locally anchored ordinary facts. It drops
root ordinary conditionals, terminals, and kind partitions, so it only
widens acceptance while reducing Helm’s schema compilation cost.
emission: EmissionArgsW-class emission-policy overrides.
override_schema: Vec<PathBuf>Schema files to merge on top of the inferred output, applied in
the order given. Repeatable: pass multiple --override-schema
flags to layer (e.g. a shared cross-chart top-level schema followed by
a chart-specific override). Overrides must carry their own definitions
rather than reference helm-schema’s private $defs names.
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.