fork: implement promote, sync diff, exclude/include, and merge with excludes
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I2d10e3f970784e84192cbca10caffe296a6a6964
This commit is contained in:
parent
c9cfb4b19a
commit
45d5f7e99b
4 changed files with 315 additions and 78 deletions
14
src/cli.rs
14
src/cli.rs
|
|
@ -606,4 +606,18 @@ pub enum ForkSubcommand {
|
|||
/// Project identifiers to promote
|
||||
projects: Vec<String>,
|
||||
},
|
||||
|
||||
/// Exclude parent projects from the merged export
|
||||
Exclude {
|
||||
/// Project slugs to exclude from the parent
|
||||
#[clap(required = true)]
|
||||
projects: Vec<String>,
|
||||
},
|
||||
|
||||
/// Re-include previously excluded parent projects
|
||||
Include {
|
||||
/// Project slugs to stop excluding from the parent
|
||||
#[clap(required = true)]
|
||||
projects: Vec<String>,
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue