Skip to content

Commit

Permalink
fix: issue with command shadowing built-in
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruno Alla authored and browniebroke committed May 16, 2021
1 parent 8acdb08 commit 6d96419
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions django_codemod/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,8 @@ def call_command(command_instance: BaseCodemodCommand, files: List[Path]):
raise click.exceptions.Exit(1)


@djcodemod.command()
def list() -> None:
@djcodemod.command("list")
def list_() -> None:
"""Print all available codemodders as a table."""
console = Console()
table = Table(show_header=True, header_style="bold")
Expand Down

0 comments on commit 6d96419

Please sign in to comment.