MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / Unrecord

Class Unrecord

atomic-cli/src/commands/unrecord.rs:70–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68#[derive(Parser, Debug, Default)]
69#[command(name = "unrecord")]
70pub struct Unrecord {
71 /// Hash or prefix of the change to unrecord.
72 ///
73 /// If not specified, the most recent change on the current view
74 /// is unrecorded. Provide a hash prefix to unrecord a specific change.
75 #[arg(value_name = "CHANGE")]
76 pub change: Option<String>,
77
78 /// Preview what would be unrecorded without doing it.
79 #[arg(short = 'n', long = "dry-run")]
80 pub dry_run: bool,
81}
82
83impl Command for Unrecord {
84 fn run(&self) -> CliResult<()> {

Callers 4

unrecordMethod · 0.85
unrecord_lastMethod · 0.85
can_unrecordMethod · 0.85

Calls

no outgoing calls

Tested by 1