Skip to content

Commit 4eff0de

Browse files
Remove unsupported CLI command 'get specs'
1 parent 8c87ea8 commit 4eff0de

1 file changed

Lines changed: 0 additions & 17 deletions

File tree

  • cli/src/spectre_cli/commands

cli/src/spectre_cli/commands/get.py

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -129,23 +129,6 @@ def modes(
129129
raise typer.Exit()
130130

131131

132-
@get_typer.command(help="Print receiver hardware specifications.")
133-
def specs(
134-
receiver_name: str = typer.Option(
135-
..., "--receiver", "-r", help="The name of the receiver."
136-
)
137-
) -> None:
138-
139-
params = {"receiver_name": receiver_name}
140-
jsend_dict = safe_request(f"receivers/{receiver_name}/specs", "GET", params=params)
141-
specs = jsend_dict["data"]
142-
143-
for k, v in specs.items():
144-
secho_existing_resource(f"{k}: {v}")
145-
146-
raise typer.Exit()
147-
148-
149132
@get_typer.command(help="List configs.")
150133
def configs() -> None:
151134

0 commit comments

Comments
 (0)