pub enum DoctorCommands {
Docs(DoctorDocsArgs),
}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. It also enforces the
accepted closed root surface and centralized continue/abort
lifecycle.
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.
Trait Implementations§
Source§impl Clone for DoctorCommands
impl Clone for DoctorCommands
Source§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<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>
Assign values from
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>
Assign values from
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
Append to
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
Test whether
Self can parse a specific subcommandAuto Trait Implementations§
impl Freeze for DoctorCommands
impl RefUnwindSafe for DoctorCommands
impl Send for DoctorCommands
impl Sync for DoctorCommands
impl Unpin for DoctorCommands
impl UnsafeUnpin for DoctorCommands
impl UnwindSafe for DoctorCommands
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more