INNER CODE UNIT · Python

lang

thomwebb/gac · src/gac/cli.py:258

def lang(ctx: Any) -> None:
    """Set the language for commit messages interactively. (Alias for 'language')"""
    ctx.forward(language_cli)


cli.add_command(lang)  # Add the lang alias


@click.command(context_settings=editor_cli.context_settings)
@click.pass_context
def edit(ctx: Any) -> None:
    """Set the editor for commit messages interactively. (Alias for 'editor')"""
    ctx.forward(editor_cli)


cli.add_command(edit)  # Add the edit alias

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…