| 68 | #[derive(Parser, Debug, Default)] |
| 69 | #[command(name = "unrecord")] |
| 70 | pub 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 | |
| 83 | impl Command for Unrecord { |
| 84 | fn run(&self) -> CliResult<()> { |
no outgoing calls