You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Available Commands:
build-dir Build plain rootfs
build-lxc Build LXC image from scratch
build-lxd Build LXD image from scratch
help Help about any command
pack-lxc Create LXC image from existing rootfs
pack-lxd Create LXD image from existing rootfs
should be
Available Commands:
build dir Build plain rootfs
build lxc Build LXC image from scratch
build lxd Build LXD image from scratch
help Help about any command
pack lxc Create LXC image from existing rootfs
pack lxd Create LXD image from existing rootfs
It seems cleaner to me but feel free to close this without discussing it if you think that it doesn't make sense. :)
The text was updated successfully, but these errors were encountered:
I usually prefer your proposed syntax though in this case, I'm not sure that it actually makes sense.
The reason is that build-dir, build-lxc and build-lxd aren't actually related. There isn't a "build" object that then has "dir", "lxc" and "lxd" actions against it, as is the case with the lxc command in LXD.
What we could have done is just have the "build" and "pack" commands and then make the target an argument, but that would have made arguments and flags validation annoying as those vary based on the target, so separate commands was making that quite a bit easier.
This is really just a question whether replacing:
should be
It seems cleaner to me but feel free to close this without discussing it if you think that it doesn't make sense. :)
The text was updated successfully, but these errors were encountered: