Skip to content
This repository was archived by the owner on Jan 13, 2026. It is now read-only.

Commit 1b1875b

Browse files
committed
fix: remove aliases
1 parent 180c47f commit 1b1875b

File tree

6 files changed

+5
-9
lines changed

6 files changed

+5
-9
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "lsp-cli"
3-
version = "0.0.2"
3+
version = "0.1.0"
44
description = "A powerful command-line interface for the Language Server Agent Protocol (LSAP)"
55
readme = "README.md"
66
authors = [{ name = "observerw", email = "[email protected]" }]

src/lsp_cli/cli/definition.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212

1313

1414
@app.command("definition")
15-
@app.command("def", hidden=True)
1615
@cli_syncify
1716
async def get_definition(
1817
locate: op.LocateOpt,
@@ -29,7 +28,7 @@ async def get_definition(
2928
type_def: bool = typer.Option(False, "--type", help="Search for type definition."),
3029
):
3130
"""
32-
Find the definition (default), declaration (--decl), or type definition (--type) of a symbol. (alias: def)
31+
Find the definition (default), declaration (--decl), or type definition (--type) of a symbol.
3332
"""
3433
if decl and type_def:
3534
raise ValueError("--decl and --type are mutually exclusive")

src/lsp_cli/cli/reference.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414

1515
@app.command("reference")
16-
@app.command("ref", hidden=True)
1716
@cli_syncify
1817
async def get_reference(
1918
locate: op.LocateOpt,
@@ -41,7 +40,7 @@ async def get_reference(
4140
pagination_id: op.PaginationIdOpt = None,
4241
):
4342
"""
44-
Find references (default) or implementations (--impl) of a symbol. (alias: ref)
43+
Find references (default) or implementations (--impl) of a symbol.
4544
"""
4645
if impl and references:
4746
raise ValueError("--impl and --ref are mutually exclusive")

src/lsp_cli/cli/symbol.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,12 @@
1010

1111

1212
@app.command("symbol")
13-
@app.command("sym", hidden=True)
1413
@cli_syncify
1514
async def get_symbol(
1615
locate: op.LocateOpt,
1716
):
1817
"""
19-
Get detailed symbol information at a specific location. (alias: sym)
18+
Get detailed symbol information at a specific location.
2019
"""
2120
locate_obj = create_locate(locate)
2221

src/lsp_cli/manager/client.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,6 @@ async def _timeout_loop(self) -> None:
102102

103103
async def _serve(self) -> None:
104104
from litestar import Request, Response
105-
from litestar.exceptions import HTTPException
106105

107106
@asynccontextmanager
108107
async def lifespan(app: Litestar) -> AsyncGenerator[None]:

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)