(
commit: str = typer.Argument(
...,
help="The ref (branch/tag), or commit ID to simulate cherry-pick onto active branch",
),
edit: str = typer.Option(
None,
"--edit",
"-e",
help="Specify a new commit message for the cherry-picked commit",
),
)
| 61 | |
| 62 | |
| 63 | def cherry_pick( |
| 64 | commit: str = typer.Argument( |
| 65 | ..., |
| 66 | help="The ref (branch/tag), or commit ID to simulate cherry-pick onto active branch", |
| 67 | ), |
| 68 | edit: str = typer.Option( |
| 69 | None, |
| 70 | "--edit", |
| 71 | "-e", |
| 72 | help="Specify a new commit message for the cherry-picked commit", |
| 73 | ), |
| 74 | ): |
| 75 | from git_sim.cherrypick import CherryPick |
| 76 | |
| 77 | scene = CherryPick(commit=commit, edit=edit) |
| 78 | handle_animations(scene=scene) |
| 79 | |
| 80 | |
| 81 | def clean(): |
nothing calls this directly
no test coverage detected