diff --git a/cmd/limactl/snapshot.go b/cmd/limactl/snapshot.go index 96679a0b8f8..ca1a57571d6 100644 --- a/cmd/limactl/snapshot.go +++ b/cmd/limactl/snapshot.go @@ -6,6 +6,7 @@ import ( "github.com/lima-vm/lima/pkg/snapshot" "github.com/lima-vm/lima/pkg/store" + "github.com/sirupsen/logrus" "github.com/spf13/cobra" ) @@ -14,6 +15,9 @@ func newSnapshotCommand() *cobra.Command { var snapshotCmd = &cobra.Command{ Use: "snapshot", Short: "Manage instance snapshots", + PersistentPreRun: func(cmd *cobra.Command, args []string) { + logrus.Warn("`limactl snapshot` is experimental") + }, } snapshotCmd.AddCommand(newSnapshotApplyCommand()) snapshotCmd.AddCommand(newSnapshotCreateCommand()) diff --git a/docs/experimental.md b/docs/experimental.md index b19bd789eda..d1e53b3994b 100644 --- a/docs/experimental.md +++ b/docs/experimental.md @@ -9,7 +9,7 @@ The following features are experimental and subject to change: - `mode: user-v2` in `networks.yml` and relevant configuration in `lima.yaml` - `audio.device` -The following flags are experimental and subject to change: +The following commands are experimental and subject to change: -- `start --set`, yq expression -- `edit --set`, yq expression +- `limactl (start|edit) --set=` +- `limactl snapshot *`