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 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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request