-
Notifications
You must be signed in to change notification settings - Fork 694
Labels
area/clilimactl CLI user experiencelimactl CLI user experienceenhancementNew feature or requestNew feature or request
Description
There have been several requests to add additional aliases to limactl
commands, e.g. ps
for list
or ssh
for shell
.
Instead of adding more and more personal aliases into the app itself, I would like to see a generic command aliasing mechanism like git
and kubectl
already implement:
When a subcommand foo
does not exist then limactl
will look for limactl-foo
on the PATH
, and execute that program instead (passing all commandline arguments along).
Let's assume we add --running
filter to the list
subcommand, then a user could create limactl-ps
:
#!/bin/sh
limactl list --running "$@"
afbjorklundnirs
Metadata
Metadata
Assignees
Labels
area/clilimactl CLI user experiencelimactl CLI user experienceenhancementNew feature or requestNew feature or request