| 30 | /// - Cherry-pick specific changes |
| 31 | #[derive(Debug, Args)] |
| 32 | pub struct Insert { |
| 33 | #[command(subcommand)] |
| 34 | command: Option<InsertSubcommand>, |
| 35 | |
| 36 | /// Hash of the change to insert (when not using subcommands). |
| 37 | #[arg(value_name = "CHANGE")] |
| 38 | change: Option<String>, |
| 39 | |
| 40 | /// View to insert the change into (default: current view). |
| 41 | #[arg(long)] |
| 42 | view: Option<String>, |
| 43 | |
| 44 | /// Insert dependencies automatically. |
| 45 | #[arg(long, default_value = "true")] |
| 46 | deps: bool, |
| 47 | |
| 48 | /// Allow conflicts during insert. |
| 49 | #[arg(long)] |
| 50 | allow_conflicts: bool, |
| 51 | |
| 52 | /// Repository path. |
| 53 | #[arg(short = 'R', long)] |
| 54 | repository: Option<String>, |
| 55 | } |
| 56 | |
| 57 | /// Insert subcommands for cross-view operations. |
| 58 | #[derive(Debug, Subcommand)] |