| 212 | /// Stop the current vault goal. |
| 213 | #[derive(Parser, Debug)] |
| 214 | pub struct GoalStop { |
| 215 | /// Goal name to stop (defaults to most recent active goal). |
| 216 | pub goal: Option<String>, |
| 217 | |
| 218 | /// Mark as completed (promoted for team consumption). |
| 219 | #[arg(long)] |
| 220 | pub promote: bool, |
| 221 | |
| 222 | /// Delete the goal entirely. |
| 223 | #[arg(long)] |
| 224 | pub discard: bool, |
| 225 | } |
| 226 | |
| 227 | impl Command for GoalStop { |
| 228 | fn run(&self) -> CliResult<()> { |