Files

26 lines
733 B
Go

// Copyright (C) 2025, Lux Industries, Inc. All rights reserved.
// See the file LICENSE for licensing terms.
package nodecmd
import (
"github.com/luxfi/cli/v2/pkg/cobrautils"
"github.com/spf13/cobra"
)
func newUpdateCmd() *cobra.Command {
cmd := &cobra.Command{
Use: "update",
Short: "(ALPHA Warning) Update luxd or VM config for all node in a cluster",
Long: `(ALPHA Warning) This command is currently in experimental mode.
The node update command suite provides a collection of commands for nodes to update
their luxd or VM config.
You can check the status after update by calling lux node status`,
RunE: cobrautils.CommandSuiteUsage,
}
// node update subnet
cmd.AddCommand(newUpdateSubnetCmd())
return cmd
}