(
ctx: typer.Context,
n: int = typer.Option(
None,
"-n",
help="Number of commits to display from branch heads",
),
all: bool = typer.Option(
False,
"--all",
help="Display all local branches in the log output",
),
)
| 163 | |
| 164 | |
| 165 | def log( |
| 166 | ctx: typer.Context, |
| 167 | n: int = typer.Option( |
| 168 | None, |
| 169 | "-n", |
| 170 | help="Number of commits to display from branch heads", |
| 171 | ), |
| 172 | all: bool = typer.Option( |
| 173 | False, |
| 174 | "--all", |
| 175 | help="Display all local branches in the log output", |
| 176 | ), |
| 177 | ): |
| 178 | from git_sim.log import Log |
| 179 | |
| 180 | scene = Log(ctx=ctx, n=n, all=all) |
| 181 | handle_animations(scene=scene) |
| 182 | |
| 183 | |
| 184 | def merge( |
nothing calls this directly
no test coverage detected