Skip to content

Commit

Permalink
fix: remove click_completion
Browse files Browse the repository at this point in the history
Shell completion is now supported by click itself and the extra package is dead.

click-contrib/click-completion#37
click-contrib/click-completion#41

It is still not trivial to use because it needs to be enabled for the shell.
And maybe is and always was impossible for these example .py files because they are not real commands anyway.

https://click.palletsprojects.com/en/8.1.x/shell-completion/
  • Loading branch information
tilsche committed Jun 1, 2023
1 parent a6a0485 commit dc6ff16
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions metricq_source_sysinfo/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
fmt="%(asctime)s [%(levelname)-8s] [%(name)-20s] %(message)s"
)

click_completion.init()


@click.command()
@click.argument("management-url", default="amqp://localhost/")
Expand Down
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
""",
install_requires=[
"click",
"click-completion",
"click_log",
"metricq ~= 4.2",
"psutil",
Expand Down

0 comments on commit dc6ff16

Please sign in to comment.