Avoid internal function shadowing
This commit is contained in:
parent
701fa0c6a8
commit
cc47363751
|
@ -17,9 +17,9 @@ def cli(ctx: Context, config):
|
|||
load_config(ctx, config)
|
||||
|
||||
|
||||
@cli.command()
|
||||
@cli.command("list")
|
||||
@click.pass_context
|
||||
def list(ctx: Context):
|
||||
def list_(ctx: Context):
|
||||
config = ctx.obj.get("config")
|
||||
for appconfig in config.dotfiles:
|
||||
print(appconfig.name or appconfig.get_path().name)
|
||||
|
@ -65,7 +65,7 @@ def push(ctx: Context, verbose: bool):
|
|||
repo_push(appconfig, verbose)
|
||||
|
||||
|
||||
cli.add_command(list)
|
||||
cli.add_command(list_)
|
||||
cli.add_command(add)
|
||||
cli.add_command(status)
|
||||
cli.add_command(commit)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[tool.poetry]
|
||||
name = "dotconfig"
|
||||
version = "0.1.2"
|
||||
version = "0.1.3"
|
||||
description = ""
|
||||
authors = ["jpk <jpk@goatpr0n.de>"]
|
||||
readme = "README.md"
|
||||
|
|
Loading…
Reference in New Issue