Skip to content

Template chooser should not show "hidden" templates #3627

@jandubois

Description

@jandubois

When you run limactl create and pick "Choose a template", the list starts with all the _images/* templates. All names that are hidden from shell completion should also be hidden here.

limactl start
? Creating an instance "default" Choose another template (docker, podman, archlinux, fedora, ...)
? Choose a template  [Use arrows to move, type to filter]
  _images/centos-stream-9
  _images/debian-11
  _images/debian-12
> _images/fedora
  _images/fedora-41
  _images/fedora-42
  _images/opensuse-leap

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions