pub enum DoctorCommands {
Docs(DoctorDocsArgs),
Schemas(DoctorSchemasArgs),
}Expand description
heddle doctor <subcommand> surface.
Variants§
Docs(DoctorDocsArgs)
Diff-check markdown documentation against the actual CLI surface.
Walks every heddle <verb> [<subverb>] [flags] invocation in
the requested markdown files and reports any drift: missing
verbs, unknown long flags, or invalid literal values for flags
like --workspace, --scope, and --kind.
Exits non-zero when any drift is found, so it’s safe to run in
CI. Pair with --output json for structured output. Run on every PR
to prevent the docs from drifting from the CLI again.
Schemas(DoctorSchemasArgs)
Drift-check docs/json-schemas.md against the registered
schemas.
Generates the canonical schema for every verb in the schemas
registry, parses every ## heddle <verb> --output json sample in
docs/json-schemas.md, and verifies that every key in the
sample is declared in the schema. Exits non-zero on drift.
Pair with --output json for CI. Run alongside heddle doctor docs
on every PR.
Trait Implementations§
Source§impl Clone for DoctorCommands
impl Clone for DoctorCommands
Source§fn clone(&self) -> DoctorCommands
fn clone(&self) -> DoctorCommands
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for DoctorCommands
impl Debug for DoctorCommands
Source§impl FromArgMatches for DoctorCommands
impl FromArgMatches for DoctorCommands
Source§fn from_arg_matches(
__clap_arg_matches: &ArgMatches,
) -> Result<DoctorCommands, Error>
fn from_arg_matches( __clap_arg_matches: &ArgMatches, ) -> Result<DoctorCommands, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<DoctorCommands, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<DoctorCommands, 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<'b>(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§impl Subcommand for DoctorCommands
impl Subcommand for DoctorCommands
Source§fn augment_subcommands<'b>(__clap_app: Command) -> Command
fn augment_subcommands<'b>(__clap_app: Command) -> Command
Source§fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Self can parse a specific subcommand