From be6b9d60a25723603a2bcdf992200a858b6952ab Mon Sep 17 00:00:00 2001 From: Shiming Zhang Date: Mon, 10 Jul 2023 17:23:06 +0800 Subject: [PATCH] Support comma-separated on --enable-crd --- pkg/config/flags.go | 2 +- pkg/kwok/cmd/root.go | 2 +- site/content/en/docs/generated/kwok.md | 4 ++-- site/content/en/docs/generated/kwokctl.md | 10 +++++----- site/content/en/docs/generated/kwokctl_config.md | 8 ++++---- site/content/en/docs/generated/kwokctl_config_reset.md | 8 ++++---- site/content/en/docs/generated/kwokctl_config_tidy.md | 8 ++++---- site/content/en/docs/generated/kwokctl_config_view.md | 8 ++++---- site/content/en/docs/generated/kwokctl_create.md | 8 ++++---- .../en/docs/generated/kwokctl_create_cluster.md | 8 ++++---- site/content/en/docs/generated/kwokctl_delete.md | 8 ++++---- .../en/docs/generated/kwokctl_delete_cluster.md | 8 ++++---- site/content/en/docs/generated/kwokctl_etcdctl.md | 8 ++++---- site/content/en/docs/generated/kwokctl_export.md | 8 ++++---- site/content/en/docs/generated/kwokctl_export_logs.md | 8 ++++---- site/content/en/docs/generated/kwokctl_get.md | 8 ++++---- .../content/en/docs/generated/kwokctl_get_artifacts.md | 8 ++++---- site/content/en/docs/generated/kwokctl_get_clusters.md | 8 ++++---- .../en/docs/generated/kwokctl_get_kubeconfig.md | 8 ++++---- site/content/en/docs/generated/kwokctl_kubectl.md | 8 ++++---- site/content/en/docs/generated/kwokctl_logs.md | 8 ++++---- site/content/en/docs/generated/kwokctl_snapshot.md | 8 ++++---- .../en/docs/generated/kwokctl_snapshot_export.md | 8 ++++---- .../en/docs/generated/kwokctl_snapshot_restore.md | 8 ++++---- .../content/en/docs/generated/kwokctl_snapshot_save.md | 8 ++++---- site/content/en/docs/generated/kwokctl_start.md | 8 ++++---- .../content/en/docs/generated/kwokctl_start_cluster.md | 8 ++++---- site/content/en/docs/generated/kwokctl_stop.md | 8 ++++---- site/content/en/docs/generated/kwokctl_stop_cluster.md | 8 ++++---- 29 files changed, 109 insertions(+), 109 deletions(-) diff --git a/pkg/config/flags.go b/pkg/config/flags.go index 067ddc06b..4564a4cc7 100644 --- a/pkg/config/flags.go +++ b/pkg/config/flags.go @@ -32,7 +32,7 @@ import ( // InitFlags initializes the flags for the configuration. func InitFlags(ctx context.Context, flags *pflag.FlagSet) (context.Context, error) { defaultConfigPath := path.RelFromHome(path.Join(WorkDir, consts.ConfigName)) - config := flags.StringArrayP("config", "c", []string{defaultConfigPath}, "config path") + config := flags.StringSliceP("config", "c", []string{defaultConfigPath}, "config path") _ = flags.Parse(os.Args[1:]) // Expand the all config paths. diff --git a/pkg/kwok/cmd/root.go b/pkg/kwok/cmd/root.go index b8197773e..018dcc19d 100644 --- a/pkg/kwok/cmd/root.go +++ b/pkg/kwok/cmd/root.go @@ -85,7 +85,7 @@ func NewCommand(ctx context.Context) *cobra.Command { cmd.Flags().StringVar(&flags.Master, "master", flags.Master, "The address of the Kubernetes API server (overrides any value in kubeconfig).") cmd.Flags().StringVar(&flags.Options.ServerAddress, "server-address", flags.Options.ServerAddress, "Address to expose the server on") cmd.Flags().UintVar(&flags.Options.NodeLeaseDurationSeconds, "node-lease-duration-seconds", flags.Options.NodeLeaseDurationSeconds, "Duration of node lease seconds") - cmd.Flags().StringArrayVar(&flags.Options.EnableCRDs, "enable-crd", flags.Options.EnableCRDs, "List of CRDs to enable") + cmd.Flags().StringSliceVar(&flags.Options.EnableCRDs, "enable-crd", flags.Options.EnableCRDs, "List of CRDs to enable") cmd.Flags().BoolVar(&flags.Options.EnableCNI, "experimental-enable-cni", flags.Options.EnableCNI, "Experimental support for getting pod ip from CNI, for CNI-related components, Only works with Linux") if config.GOOS != "linux" { diff --git a/site/content/en/docs/generated/kwok.md b/site/content/en/docs/generated/kwok.md index 1c1e705dd..2fd4e7f5c 100644 --- a/site/content/en/docs/generated/kwok.md +++ b/site/content/en/docs/generated/kwok.md @@ -10,10 +10,10 @@ kwok [flags] ``` --cidr string CIDR of the pod ip (default "10.0.0.1/24") - -c, --config stringArray config path (default [~/.kwok/kwok.yaml]) + -c, --config strings config path (default [~/.kwok/kwok.yaml]) --disregard-status-with-annotation-selector string All node/pod status excluding the ones that match the annotation selector will be watched and managed. --disregard-status-with-label-selector string All node/pod status excluding the ones that match the label selector will be watched and managed. - --enable-crd stringArray List of CRDs to enable + --enable-crd strings List of CRDs to enable --experimental-enable-cni Experimental support for getting pod ip from CNI, for CNI-related components, Only works with Linux -h, --help help for kwok --kubeconfig string Path to the kubeconfig file to use (default "~/.kube/config") diff --git a/site/content/en/docs/generated/kwokctl.md b/site/content/en/docs/generated/kwokctl.md index 7a3096158..045e6bf85 100644 --- a/site/content/en/docs/generated/kwokctl.md +++ b/site/content/en/docs/generated/kwokctl.md @@ -9,11 +9,11 @@ kwokctl [command] [flags] ### Options ``` - -c, --config stringArray config path (default [~/.kwok/kwok.yaml]) - --dry-run Print the command that would be executed, but do not execute it - -h, --help help for kwokctl - --name string cluster name (default "kwok") - -v, --v log-level number for the log level verbosity (DEBUG, INFO, WARN, ERROR) or (-4, 0, 4, 8) (default INFO) + -c, --config strings config path (default [~/.kwok/kwok.yaml]) + --dry-run Print the command that would be executed, but do not execute it + -h, --help help for kwokctl + --name string cluster name (default "kwok") + -v, --v log-level number for the log level verbosity (DEBUG, INFO, WARN, ERROR) or (-4, 0, 4, 8) (default INFO) ``` ### SEE ALSO diff --git a/site/content/en/docs/generated/kwokctl_config.md b/site/content/en/docs/generated/kwokctl_config.md index aa88dcd5b..c8558c707 100644 --- a/site/content/en/docs/generated/kwokctl_config.md +++ b/site/content/en/docs/generated/kwokctl_config.md @@ -15,10 +15,10 @@ kwokctl config [command] [flags] ### Options inherited from parent commands ``` - -c, --config stringArray config path (default [~/.kwok/kwok.yaml]) - --dry-run Print the command that would be executed, but do not execute it - --name string cluster name (default "kwok") - -v, --v log-level number for the log level verbosity (DEBUG, INFO, WARN, ERROR) or (-4, 0, 4, 8) (default INFO) + -c, --config strings config path (default [~/.kwok/kwok.yaml]) + --dry-run Print the command that would be executed, but do not execute it + --name string cluster name (default "kwok") + -v, --v log-level number for the log level verbosity (DEBUG, INFO, WARN, ERROR) or (-4, 0, 4, 8) (default INFO) ``` ### SEE ALSO diff --git a/site/content/en/docs/generated/kwokctl_config_reset.md b/site/content/en/docs/generated/kwokctl_config_reset.md index 8d4dafb47..35f1ecf16 100644 --- a/site/content/en/docs/generated/kwokctl_config_reset.md +++ b/site/content/en/docs/generated/kwokctl_config_reset.md @@ -15,10 +15,10 @@ kwokctl config reset [flags] ### Options inherited from parent commands ``` - -c, --config stringArray config path (default [~/.kwok/kwok.yaml]) - --dry-run Print the command that would be executed, but do not execute it - --name string cluster name (default "kwok") - -v, --v log-level number for the log level verbosity (DEBUG, INFO, WARN, ERROR) or (-4, 0, 4, 8) (default INFO) + -c, --config strings config path (default [~/.kwok/kwok.yaml]) + --dry-run Print the command that would be executed, but do not execute it + --name string cluster name (default "kwok") + -v, --v log-level number for the log level verbosity (DEBUG, INFO, WARN, ERROR) or (-4, 0, 4, 8) (default INFO) ``` ### SEE ALSO diff --git a/site/content/en/docs/generated/kwokctl_config_tidy.md b/site/content/en/docs/generated/kwokctl_config_tidy.md index 8a3c7261e..17910a1df 100644 --- a/site/content/en/docs/generated/kwokctl_config_tidy.md +++ b/site/content/en/docs/generated/kwokctl_config_tidy.md @@ -15,10 +15,10 @@ kwokctl config tidy [flags] ### Options inherited from parent commands ``` - -c, --config stringArray config path (default [~/.kwok/kwok.yaml]) - --dry-run Print the command that would be executed, but do not execute it - --name string cluster name (default "kwok") - -v, --v log-level number for the log level verbosity (DEBUG, INFO, WARN, ERROR) or (-4, 0, 4, 8) (default INFO) + -c, --config strings config path (default [~/.kwok/kwok.yaml]) + --dry-run Print the command that would be executed, but do not execute it + --name string cluster name (default "kwok") + -v, --v log-level number for the log level verbosity (DEBUG, INFO, WARN, ERROR) or (-4, 0, 4, 8) (default INFO) ``` ### SEE ALSO diff --git a/site/content/en/docs/generated/kwokctl_config_view.md b/site/content/en/docs/generated/kwokctl_config_view.md index c88fb8043..d9e9c591e 100644 --- a/site/content/en/docs/generated/kwokctl_config_view.md +++ b/site/content/en/docs/generated/kwokctl_config_view.md @@ -15,10 +15,10 @@ kwokctl config view [flags] ### Options inherited from parent commands ``` - -c, --config stringArray config path (default [~/.kwok/kwok.yaml]) - --dry-run Print the command that would be executed, but do not execute it - --name string cluster name (default "kwok") - -v, --v log-level number for the log level verbosity (DEBUG, INFO, WARN, ERROR) or (-4, 0, 4, 8) (default INFO) + -c, --config strings config path (default [~/.kwok/kwok.yaml]) + --dry-run Print the command that would be executed, but do not execute it + --name string cluster name (default "kwok") + -v, --v log-level number for the log level verbosity (DEBUG, INFO, WARN, ERROR) or (-4, 0, 4, 8) (default INFO) ``` ### SEE ALSO diff --git a/site/content/en/docs/generated/kwokctl_create.md b/site/content/en/docs/generated/kwokctl_create.md index 258410f85..85021406f 100644 --- a/site/content/en/docs/generated/kwokctl_create.md +++ b/site/content/en/docs/generated/kwokctl_create.md @@ -15,10 +15,10 @@ kwokctl create [command] [flags] ### Options inherited from parent commands ``` - -c, --config stringArray config path (default [~/.kwok/kwok.yaml]) - --dry-run Print the command that would be executed, but do not execute it - --name string cluster name (default "kwok") - -v, --v log-level number for the log level verbosity (DEBUG, INFO, WARN, ERROR) or (-4, 0, 4, 8) (default INFO) + -c, --config strings config path (default [~/.kwok/kwok.yaml]) + --dry-run Print the command that would be executed, but do not execute it + --name string cluster name (default "kwok") + -v, --v log-level number for the log level verbosity (DEBUG, INFO, WARN, ERROR) or (-4, 0, 4, 8) (default INFO) ``` ### SEE ALSO diff --git a/site/content/en/docs/generated/kwokctl_create_cluster.md b/site/content/en/docs/generated/kwokctl_create_cluster.md index a3859d211..d40bfb891 100644 --- a/site/content/en/docs/generated/kwokctl_create_cluster.md +++ b/site/content/en/docs/generated/kwokctl_create_cluster.md @@ -73,10 +73,10 @@ kwokctl create cluster [flags] ### Options inherited from parent commands ``` - -c, --config stringArray config path (default [~/.kwok/kwok.yaml]) - --dry-run Print the command that would be executed, but do not execute it - --name string cluster name (default "kwok") - -v, --v log-level number for the log level verbosity (DEBUG, INFO, WARN, ERROR) or (-4, 0, 4, 8) (default INFO) + -c, --config strings config path (default [~/.kwok/kwok.yaml]) + --dry-run Print the command that would be executed, but do not execute it + --name string cluster name (default "kwok") + -v, --v log-level number for the log level verbosity (DEBUG, INFO, WARN, ERROR) or (-4, 0, 4, 8) (default INFO) ``` ### SEE ALSO diff --git a/site/content/en/docs/generated/kwokctl_delete.md b/site/content/en/docs/generated/kwokctl_delete.md index 2fd5ccaf1..67325b302 100644 --- a/site/content/en/docs/generated/kwokctl_delete.md +++ b/site/content/en/docs/generated/kwokctl_delete.md @@ -15,10 +15,10 @@ kwokctl delete [command] [flags] ### Options inherited from parent commands ``` - -c, --config stringArray config path (default [~/.kwok/kwok.yaml]) - --dry-run Print the command that would be executed, but do not execute it - --name string cluster name (default "kwok") - -v, --v log-level number for the log level verbosity (DEBUG, INFO, WARN, ERROR) or (-4, 0, 4, 8) (default INFO) + -c, --config strings config path (default [~/.kwok/kwok.yaml]) + --dry-run Print the command that would be executed, but do not execute it + --name string cluster name (default "kwok") + -v, --v log-level number for the log level verbosity (DEBUG, INFO, WARN, ERROR) or (-4, 0, 4, 8) (default INFO) ``` ### SEE ALSO diff --git a/site/content/en/docs/generated/kwokctl_delete_cluster.md b/site/content/en/docs/generated/kwokctl_delete_cluster.md index 336eaee35..5856120f1 100644 --- a/site/content/en/docs/generated/kwokctl_delete_cluster.md +++ b/site/content/en/docs/generated/kwokctl_delete_cluster.md @@ -16,10 +16,10 @@ kwokctl delete cluster [flags] ### Options inherited from parent commands ``` - -c, --config stringArray config path (default [~/.kwok/kwok.yaml]) - --dry-run Print the command that would be executed, but do not execute it - --name string cluster name (default "kwok") - -v, --v log-level number for the log level verbosity (DEBUG, INFO, WARN, ERROR) or (-4, 0, 4, 8) (default INFO) + -c, --config strings config path (default [~/.kwok/kwok.yaml]) + --dry-run Print the command that would be executed, but do not execute it + --name string cluster name (default "kwok") + -v, --v log-level number for the log level verbosity (DEBUG, INFO, WARN, ERROR) or (-4, 0, 4, 8) (default INFO) ``` ### SEE ALSO diff --git a/site/content/en/docs/generated/kwokctl_etcdctl.md b/site/content/en/docs/generated/kwokctl_etcdctl.md index 8da4ef109..a6a3e35f7 100644 --- a/site/content/en/docs/generated/kwokctl_etcdctl.md +++ b/site/content/en/docs/generated/kwokctl_etcdctl.md @@ -15,10 +15,10 @@ kwokctl etcdctl [command] [flags] ### Options inherited from parent commands ``` - -c, --config stringArray config path (default [~/.kwok/kwok.yaml]) - --dry-run Print the command that would be executed, but do not execute it - --name string cluster name (default "kwok") - -v, --v log-level number for the log level verbosity (DEBUG, INFO, WARN, ERROR) or (-4, 0, 4, 8) (default INFO) + -c, --config strings config path (default [~/.kwok/kwok.yaml]) + --dry-run Print the command that would be executed, but do not execute it + --name string cluster name (default "kwok") + -v, --v log-level number for the log level verbosity (DEBUG, INFO, WARN, ERROR) or (-4, 0, 4, 8) (default INFO) ``` ### SEE ALSO diff --git a/site/content/en/docs/generated/kwokctl_export.md b/site/content/en/docs/generated/kwokctl_export.md index d6cd80467..4866bc9b1 100644 --- a/site/content/en/docs/generated/kwokctl_export.md +++ b/site/content/en/docs/generated/kwokctl_export.md @@ -15,10 +15,10 @@ kwokctl export [flags] ### Options inherited from parent commands ``` - -c, --config stringArray config path (default [~/.kwok/kwok.yaml]) - --dry-run Print the command that would be executed, but do not execute it - --name string cluster name (default "kwok") - -v, --v log-level number for the log level verbosity (DEBUG, INFO, WARN, ERROR) or (-4, 0, 4, 8) (default INFO) + -c, --config strings config path (default [~/.kwok/kwok.yaml]) + --dry-run Print the command that would be executed, but do not execute it + --name string cluster name (default "kwok") + -v, --v log-level number for the log level verbosity (DEBUG, INFO, WARN, ERROR) or (-4, 0, 4, 8) (default INFO) ``` ### SEE ALSO diff --git a/site/content/en/docs/generated/kwokctl_export_logs.md b/site/content/en/docs/generated/kwokctl_export_logs.md index 41860967e..6d8dc3263 100644 --- a/site/content/en/docs/generated/kwokctl_export_logs.md +++ b/site/content/en/docs/generated/kwokctl_export_logs.md @@ -15,10 +15,10 @@ kwokctl export logs [output-dir] [flags] ### Options inherited from parent commands ``` - -c, --config stringArray config path (default [~/.kwok/kwok.yaml]) - --dry-run Print the command that would be executed, but do not execute it - --name string cluster name (default "kwok") - -v, --v log-level number for the log level verbosity (DEBUG, INFO, WARN, ERROR) or (-4, 0, 4, 8) (default INFO) + -c, --config strings config path (default [~/.kwok/kwok.yaml]) + --dry-run Print the command that would be executed, but do not execute it + --name string cluster name (default "kwok") + -v, --v log-level number for the log level verbosity (DEBUG, INFO, WARN, ERROR) or (-4, 0, 4, 8) (default INFO) ``` ### SEE ALSO diff --git a/site/content/en/docs/generated/kwokctl_get.md b/site/content/en/docs/generated/kwokctl_get.md index 35c22f609..7d5eaeec7 100644 --- a/site/content/en/docs/generated/kwokctl_get.md +++ b/site/content/en/docs/generated/kwokctl_get.md @@ -15,10 +15,10 @@ kwokctl get [command] [flags] ### Options inherited from parent commands ``` - -c, --config stringArray config path (default [~/.kwok/kwok.yaml]) - --dry-run Print the command that would be executed, but do not execute it - --name string cluster name (default "kwok") - -v, --v log-level number for the log level verbosity (DEBUG, INFO, WARN, ERROR) or (-4, 0, 4, 8) (default INFO) + -c, --config strings config path (default [~/.kwok/kwok.yaml]) + --dry-run Print the command that would be executed, but do not execute it + --name string cluster name (default "kwok") + -v, --v log-level number for the log level verbosity (DEBUG, INFO, WARN, ERROR) or (-4, 0, 4, 8) (default INFO) ``` ### SEE ALSO diff --git a/site/content/en/docs/generated/kwokctl_get_artifacts.md b/site/content/en/docs/generated/kwokctl_get_artifacts.md index 3d88e6453..5bf420624 100644 --- a/site/content/en/docs/generated/kwokctl_get_artifacts.md +++ b/site/content/en/docs/generated/kwokctl_get_artifacts.md @@ -17,10 +17,10 @@ kwokctl get artifacts [flags] ### Options inherited from parent commands ``` - -c, --config stringArray config path (default [~/.kwok/kwok.yaml]) - --dry-run Print the command that would be executed, but do not execute it - --name string cluster name (default "kwok") - -v, --v log-level number for the log level verbosity (DEBUG, INFO, WARN, ERROR) or (-4, 0, 4, 8) (default INFO) + -c, --config strings config path (default [~/.kwok/kwok.yaml]) + --dry-run Print the command that would be executed, but do not execute it + --name string cluster name (default "kwok") + -v, --v log-level number for the log level verbosity (DEBUG, INFO, WARN, ERROR) or (-4, 0, 4, 8) (default INFO) ``` ### SEE ALSO diff --git a/site/content/en/docs/generated/kwokctl_get_clusters.md b/site/content/en/docs/generated/kwokctl_get_clusters.md index 8c7cf631c..b4b763ab5 100644 --- a/site/content/en/docs/generated/kwokctl_get_clusters.md +++ b/site/content/en/docs/generated/kwokctl_get_clusters.md @@ -15,10 +15,10 @@ kwokctl get clusters [flags] ### Options inherited from parent commands ``` - -c, --config stringArray config path (default [~/.kwok/kwok.yaml]) - --dry-run Print the command that would be executed, but do not execute it - --name string cluster name (default "kwok") - -v, --v log-level number for the log level verbosity (DEBUG, INFO, WARN, ERROR) or (-4, 0, 4, 8) (default INFO) + -c, --config strings config path (default [~/.kwok/kwok.yaml]) + --dry-run Print the command that would be executed, but do not execute it + --name string cluster name (default "kwok") + -v, --v log-level number for the log level verbosity (DEBUG, INFO, WARN, ERROR) or (-4, 0, 4, 8) (default INFO) ``` ### SEE ALSO diff --git a/site/content/en/docs/generated/kwokctl_get_kubeconfig.md b/site/content/en/docs/generated/kwokctl_get_kubeconfig.md index 124a1c813..18a86e67b 100644 --- a/site/content/en/docs/generated/kwokctl_get_kubeconfig.md +++ b/site/content/en/docs/generated/kwokctl_get_kubeconfig.md @@ -19,10 +19,10 @@ kwokctl get kubeconfig [flags] ### Options inherited from parent commands ``` - -c, --config stringArray config path (default [~/.kwok/kwok.yaml]) - --dry-run Print the command that would be executed, but do not execute it - --name string cluster name (default "kwok") - -v, --v log-level number for the log level verbosity (DEBUG, INFO, WARN, ERROR) or (-4, 0, 4, 8) (default INFO) + -c, --config strings config path (default [~/.kwok/kwok.yaml]) + --dry-run Print the command that would be executed, but do not execute it + --name string cluster name (default "kwok") + -v, --v log-level number for the log level verbosity (DEBUG, INFO, WARN, ERROR) or (-4, 0, 4, 8) (default INFO) ``` ### SEE ALSO diff --git a/site/content/en/docs/generated/kwokctl_kubectl.md b/site/content/en/docs/generated/kwokctl_kubectl.md index fe332464d..4022e6dc4 100644 --- a/site/content/en/docs/generated/kwokctl_kubectl.md +++ b/site/content/en/docs/generated/kwokctl_kubectl.md @@ -15,10 +15,10 @@ kwokctl kubectl [command] [flags] ### Options inherited from parent commands ``` - -c, --config stringArray config path (default [~/.kwok/kwok.yaml]) - --dry-run Print the command that would be executed, but do not execute it - --name string cluster name (default "kwok") - -v, --v log-level number for the log level verbosity (DEBUG, INFO, WARN, ERROR) or (-4, 0, 4, 8) (default INFO) + -c, --config strings config path (default [~/.kwok/kwok.yaml]) + --dry-run Print the command that would be executed, but do not execute it + --name string cluster name (default "kwok") + -v, --v log-level number for the log level verbosity (DEBUG, INFO, WARN, ERROR) or (-4, 0, 4, 8) (default INFO) ``` ### SEE ALSO diff --git a/site/content/en/docs/generated/kwokctl_logs.md b/site/content/en/docs/generated/kwokctl_logs.md index 318c7c2df..77d4aa7a2 100644 --- a/site/content/en/docs/generated/kwokctl_logs.md +++ b/site/content/en/docs/generated/kwokctl_logs.md @@ -16,10 +16,10 @@ kwokctl logs [command] [flags] ### Options inherited from parent commands ``` - -c, --config stringArray config path (default [~/.kwok/kwok.yaml]) - --dry-run Print the command that would be executed, but do not execute it - --name string cluster name (default "kwok") - -v, --v log-level number for the log level verbosity (DEBUG, INFO, WARN, ERROR) or (-4, 0, 4, 8) (default INFO) + -c, --config strings config path (default [~/.kwok/kwok.yaml]) + --dry-run Print the command that would be executed, but do not execute it + --name string cluster name (default "kwok") + -v, --v log-level number for the log level verbosity (DEBUG, INFO, WARN, ERROR) or (-4, 0, 4, 8) (default INFO) ``` ### SEE ALSO diff --git a/site/content/en/docs/generated/kwokctl_snapshot.md b/site/content/en/docs/generated/kwokctl_snapshot.md index 87fb591dd..6454eacf7 100644 --- a/site/content/en/docs/generated/kwokctl_snapshot.md +++ b/site/content/en/docs/generated/kwokctl_snapshot.md @@ -15,10 +15,10 @@ kwokctl snapshot [command] [flags] ### Options inherited from parent commands ``` - -c, --config stringArray config path (default [~/.kwok/kwok.yaml]) - --dry-run Print the command that would be executed, but do not execute it - --name string cluster name (default "kwok") - -v, --v log-level number for the log level verbosity (DEBUG, INFO, WARN, ERROR) or (-4, 0, 4, 8) (default INFO) + -c, --config strings config path (default [~/.kwok/kwok.yaml]) + --dry-run Print the command that would be executed, but do not execute it + --name string cluster name (default "kwok") + -v, --v log-level number for the log level verbosity (DEBUG, INFO, WARN, ERROR) or (-4, 0, 4, 8) (default INFO) ``` ### SEE ALSO diff --git a/site/content/en/docs/generated/kwokctl_snapshot_export.md b/site/content/en/docs/generated/kwokctl_snapshot_export.md index faddef238..fc100a5a1 100644 --- a/site/content/en/docs/generated/kwokctl_snapshot_export.md +++ b/site/content/en/docs/generated/kwokctl_snapshot_export.md @@ -22,10 +22,10 @@ kwokctl snapshot export [flags] ### Options inherited from parent commands ``` - -c, --config stringArray config path (default [~/.kwok/kwok.yaml]) - --dry-run Print the command that would be executed, but do not execute it - --name string cluster name (default "kwok") - -v, --v log-level number for the log level verbosity (DEBUG, INFO, WARN, ERROR) or (-4, 0, 4, 8) (default INFO) + -c, --config strings config path (default [~/.kwok/kwok.yaml]) + --dry-run Print the command that would be executed, but do not execute it + --name string cluster name (default "kwok") + -v, --v log-level number for the log level verbosity (DEBUG, INFO, WARN, ERROR) or (-4, 0, 4, 8) (default INFO) ``` ### SEE ALSO diff --git a/site/content/en/docs/generated/kwokctl_snapshot_restore.md b/site/content/en/docs/generated/kwokctl_snapshot_restore.md index 98f02351d..d49bafdf4 100644 --- a/site/content/en/docs/generated/kwokctl_snapshot_restore.md +++ b/site/content/en/docs/generated/kwokctl_snapshot_restore.md @@ -18,10 +18,10 @@ kwokctl snapshot restore [flags] ### Options inherited from parent commands ``` - -c, --config stringArray config path (default [~/.kwok/kwok.yaml]) - --dry-run Print the command that would be executed, but do not execute it - --name string cluster name (default "kwok") - -v, --v log-level number for the log level verbosity (DEBUG, INFO, WARN, ERROR) or (-4, 0, 4, 8) (default INFO) + -c, --config strings config path (default [~/.kwok/kwok.yaml]) + --dry-run Print the command that would be executed, but do not execute it + --name string cluster name (default "kwok") + -v, --v log-level number for the log level verbosity (DEBUG, INFO, WARN, ERROR) or (-4, 0, 4, 8) (default INFO) ``` ### SEE ALSO diff --git a/site/content/en/docs/generated/kwokctl_snapshot_save.md b/site/content/en/docs/generated/kwokctl_snapshot_save.md index 21000022b..318a742e7 100644 --- a/site/content/en/docs/generated/kwokctl_snapshot_save.md +++ b/site/content/en/docs/generated/kwokctl_snapshot_save.md @@ -18,10 +18,10 @@ kwokctl snapshot save [flags] ### Options inherited from parent commands ``` - -c, --config stringArray config path (default [~/.kwok/kwok.yaml]) - --dry-run Print the command that would be executed, but do not execute it - --name string cluster name (default "kwok") - -v, --v log-level number for the log level verbosity (DEBUG, INFO, WARN, ERROR) or (-4, 0, 4, 8) (default INFO) + -c, --config strings config path (default [~/.kwok/kwok.yaml]) + --dry-run Print the command that would be executed, but do not execute it + --name string cluster name (default "kwok") + -v, --v log-level number for the log level verbosity (DEBUG, INFO, WARN, ERROR) or (-4, 0, 4, 8) (default INFO) ``` ### SEE ALSO diff --git a/site/content/en/docs/generated/kwokctl_start.md b/site/content/en/docs/generated/kwokctl_start.md index 79778b4fe..026d8b676 100644 --- a/site/content/en/docs/generated/kwokctl_start.md +++ b/site/content/en/docs/generated/kwokctl_start.md @@ -15,10 +15,10 @@ kwokctl start [command] [flags] ### Options inherited from parent commands ``` - -c, --config stringArray config path (default [~/.kwok/kwok.yaml]) - --dry-run Print the command that would be executed, but do not execute it - --name string cluster name (default "kwok") - -v, --v log-level number for the log level verbosity (DEBUG, INFO, WARN, ERROR) or (-4, 0, 4, 8) (default INFO) + -c, --config strings config path (default [~/.kwok/kwok.yaml]) + --dry-run Print the command that would be executed, but do not execute it + --name string cluster name (default "kwok") + -v, --v log-level number for the log level verbosity (DEBUG, INFO, WARN, ERROR) or (-4, 0, 4, 8) (default INFO) ``` ### SEE ALSO diff --git a/site/content/en/docs/generated/kwokctl_start_cluster.md b/site/content/en/docs/generated/kwokctl_start_cluster.md index 6e6afdaad..53b2c2eb0 100644 --- a/site/content/en/docs/generated/kwokctl_start_cluster.md +++ b/site/content/en/docs/generated/kwokctl_start_cluster.md @@ -17,10 +17,10 @@ kwokctl start cluster [flags] ### Options inherited from parent commands ``` - -c, --config stringArray config path (default [~/.kwok/kwok.yaml]) - --dry-run Print the command that would be executed, but do not execute it - --name string cluster name (default "kwok") - -v, --v log-level number for the log level verbosity (DEBUG, INFO, WARN, ERROR) or (-4, 0, 4, 8) (default INFO) + -c, --config strings config path (default [~/.kwok/kwok.yaml]) + --dry-run Print the command that would be executed, but do not execute it + --name string cluster name (default "kwok") + -v, --v log-level number for the log level verbosity (DEBUG, INFO, WARN, ERROR) or (-4, 0, 4, 8) (default INFO) ``` ### SEE ALSO diff --git a/site/content/en/docs/generated/kwokctl_stop.md b/site/content/en/docs/generated/kwokctl_stop.md index 5317aa594..de9fe2f13 100644 --- a/site/content/en/docs/generated/kwokctl_stop.md +++ b/site/content/en/docs/generated/kwokctl_stop.md @@ -15,10 +15,10 @@ kwokctl stop [command] [flags] ### Options inherited from parent commands ``` - -c, --config stringArray config path (default [~/.kwok/kwok.yaml]) - --dry-run Print the command that would be executed, but do not execute it - --name string cluster name (default "kwok") - -v, --v log-level number for the log level verbosity (DEBUG, INFO, WARN, ERROR) or (-4, 0, 4, 8) (default INFO) + -c, --config strings config path (default [~/.kwok/kwok.yaml]) + --dry-run Print the command that would be executed, but do not execute it + --name string cluster name (default "kwok") + -v, --v log-level number for the log level verbosity (DEBUG, INFO, WARN, ERROR) or (-4, 0, 4, 8) (default INFO) ``` ### SEE ALSO diff --git a/site/content/en/docs/generated/kwokctl_stop_cluster.md b/site/content/en/docs/generated/kwokctl_stop_cluster.md index d406810a9..c27e22af6 100644 --- a/site/content/en/docs/generated/kwokctl_stop_cluster.md +++ b/site/content/en/docs/generated/kwokctl_stop_cluster.md @@ -15,10 +15,10 @@ kwokctl stop cluster [flags] ### Options inherited from parent commands ``` - -c, --config stringArray config path (default [~/.kwok/kwok.yaml]) - --dry-run Print the command that would be executed, but do not execute it - --name string cluster name (default "kwok") - -v, --v log-level number for the log level verbosity (DEBUG, INFO, WARN, ERROR) or (-4, 0, 4, 8) (default INFO) + -c, --config strings config path (default [~/.kwok/kwok.yaml]) + --dry-run Print the command that would be executed, but do not execute it + --name string cluster name (default "kwok") + -v, --v log-level number for the log level verbosity (DEBUG, INFO, WARN, ERROR) or (-4, 0, 4, 8) (default INFO) ``` ### SEE ALSO