(
message: str = typer.Option(
"New commit",
"--message",
"-m",
help="The commit message of the new commit",
),
amend: bool = typer.Option(
default=False,
help="Amend the last commit message, must be used with the --message flag",
),
)
| 103 | |
| 104 | |
| 105 | def commit( |
| 106 | message: str = typer.Option( |
| 107 | "New commit", |
| 108 | "--message", |
| 109 | "-m", |
| 110 | help="The commit message of the new commit", |
| 111 | ), |
| 112 | amend: bool = typer.Option( |
| 113 | default=False, |
| 114 | help="Amend the last commit message, must be used with the --message flag", |
| 115 | ), |
| 116 | ): |
| 117 | from git_sim.commit import Commit |
| 118 | |
| 119 | settings.hide_first_tag = True |
| 120 | scene = Commit(message=message, amend=amend) |
| 121 | handle_animations(scene=scene) |
| 122 | |
| 123 | |
| 124 | def config( |
nothing calls this directly
no test coverage detected