Skip to content

CLI: 'list-rooms'/'list-completions' commands b0rked #495

@tseaver

Description

@tseaver
$ soliplex-cli list-rooms example/minimal.yaml 

─────────────────────────────── Configured Rooms ───────────────────────────────

╭───────────────────── Traceback (most recent call last) ──────────────────────╮
│ /mnt/work/tseaver/projects/agendaless/Enfold/src/soliplex/src/soliplex/cli.p │
│ y:421 in list_rooms                                                          │
│                                                                              │
│   418 │   the_console.rule("Configured Rooms")                               │
│   419 │   the_console.line()                                                 │
│   420 │                                                                      │
│ ❱ 421 │   for room_config in the_installation.get_room_configs(None).values( │
│   422 │   │   the_console.print(f"- [ {room_config.id} ] {room_config.name}: │
│   423 │   │   the_console.print(f"  {room_config.description}")              │
│   424 │   │   the_console.line()                                             │
...
│ ╰──────────────────────────────────────────────────────────────────────────╯ │
╰──────────────────────────────────────────────────────────────────────────────╯
TypeError: Installation.get_room_configs() takes 1 positional argument but 2 
were given

Equivalent error for `list-completions.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions