pub enum RecordCommand {
Open(Box<RecordOpenArgs>),
Attach(Box<RecordAttachArgs>),
Post(Box<RecordPostArgs>),
RepairDashboard(Box<RecordRepairDashboardArgs>),
Close(Box<RecordCloseArgs>),
Audit(Box<RecordAuditArgs>),
Template(Box<RecordTemplateArgs>),
Restore(Box<RecordRestoreArgs>),
}Variants§
Open(Box<RecordOpenArgs>)
Open a provider issue from a plan bundle and post initial lifecycle comments (v3 issue-backed plan record contract). Idempotent: re-running for the same bundle resumes the existing tracker instead of creating a duplicate. The dedup key is the source snapshot identity (repo-relative path + last-commit SHA) embedded in the source lifecycle comment; on a match only the missing lifecycle comments are attached. A partial open is therefore safe to retry.
Attach(Box<RecordAttachArgs>)
Attach source, plan, and initial state lifecycle comments to an existing provider issue.
Post(Box<RecordPostArgs>)
Append a canonical lifecycle comment (state, session, validation, review, or closeout) to an existing plan record issue.
RepairDashboard(Box<RecordRepairDashboardArgs>)
Recompute and edit the dashboard issue body from active payload evidence. Old state payload formats require one-off migration/repair.
Close(Box<RecordCloseArgs>)
Close a plan record issue after the strict lifecycle gate passes.
Audit(Box<RecordAuditArgs>)
Audit issue body and comments for the active payload contract. Old state payload formats require one-off migration/repair.
Template(Box<RecordTemplateArgs>)
Preview the visible Markdown or JSON payload skeleton for a lifecycle role. Non-mutating; backed by the vNext lifecycle role registry.
Restore(Box<RecordRestoreArgs>)
Re-materialize a plan bundle’s source and plan documents from a
tracking issue’s frozen snapshot comments, writing each file to its
canonical path under --out. The inverse of record open’s
snapshot rendering. The state role is a rendered lifecycle view
(not a verbatim file snapshot) and is not restored.
Trait Implementations§
Source§impl Clone for RecordCommand
impl Clone for RecordCommand
Source§fn clone(&self) -> RecordCommand
fn clone(&self) -> RecordCommand
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 RecordCommand
impl Debug for RecordCommand
Source§impl FromArgMatches for RecordCommand
impl FromArgMatches for RecordCommand
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<'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 Serialize for RecordCommand
impl Serialize for RecordCommand
Source§impl Subcommand for RecordCommand
impl Subcommand for RecordCommand
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