Skip to content

Commit

Permalink
Remove cls
Browse files Browse the repository at this point in the history
  • Loading branch information
davegaeddert committed Sep 26, 2022
1 parent 0682c50 commit e36a04f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 22 deletions.
7 changes: 0 additions & 7 deletions p/cli.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,10 @@
import click
from click_didyoumean import DYMGroup
import cls_client

from .groups import Group
from . import __version__


cls_client.set_project_key("cls_pk_jlBkK2J8tNL36UfIZFgn8LqO")
cls_client.set_project_slug("p")
cls_client.set_version(__version__)


class Pcli(DYMGroup):
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
Expand All @@ -29,7 +23,6 @@ def __init__(self, *args, **kwargs):
)
@click.argument("cmd_args", nargs=-1, type=click.UNPROCESSED)
@click.pass_context
@cls_client.track_command(name=command.name)
def func(ctx, cmd_args):
self.group.do_command(ctx.info_name, cmd_args)

Expand Down
16 changes: 2 additions & 14 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ p = "p.cli:cli"
[tool.poetry.dependencies]
python = "^3.6.2"
click = "^7.1.2"
cls-client = "^1.2.0"
click-didyoumean = "^0.3.0"

[tool.poetry.dev-dependencies]
Expand Down

0 comments on commit e36a04f

Please sign in to comment.