add some more subcommand options to upd

This commit is contained in:
cswimr 2025-01-28 07:17:56 -06:00
parent 566786f577
commit b23ceaa5b0
Signed by: cswimr
GPG key ID: 0EC431A8DA8F8087

View file

@ -61,7 +61,7 @@ def _vm(args):
@aliases.register
def _upd(args: list):
path = Path("/etc/nixos")
possible_subcommands = ("switch", "boot")
possible_subcommands = ("switch", "boot", "test", "build-vm")
subcommand = "switch"
for arg in args:
if arg in possible_subcommands: