Files
zeekay 579f53c3cc chore: remove local replace directives and update dependencies
- Update github.com/luxfi/netrunner v1.15.3 → v1.15.4
- Update github.com/luxfi/node v1.22.77 → v1.22.80
- Remove local replace directive for netrunner
- Use published package versions for reproducible builds
2026-01-03 07:09:01 -08:00

38 lines
1.0 KiB
Go

// Copyright (C) 2022-2025, Lux Industries Inc. All rights reserved.
// See the file LICENSE for licensing terms.
package upgradecmd
import (
"github.com/luxfi/cli/pkg/application"
"github.com/luxfi/cli/pkg/cobrautils"
"github.com/spf13/cobra"
)
var app *application.Lux
// lux blockchain upgrade
func NewCmd(injectedApp *application.Lux) *cobra.Command {
cmd := &cobra.Command{
Use: "upgrade",
Short: "Upgrade your Blockchains",
Long: `The blockchain upgrade command suite provides a collection of tools for
updating your developmental and deployed Blockchains.`,
RunE: cobrautils.CommandSuiteUsage,
}
app = injectedApp
// blockchain upgrade vm
cmd.AddCommand(newUpgradeVMCmd())
// blockchain upgrade generate
cmd.AddCommand(newUpgradeGenerateCmd())
// blockchain upgrade import
cmd.AddCommand(newUpgradeImportCmd())
// blockchain upgrade export
cmd.AddCommand(newUpgradeExportCmd())
// blockchain upgrade print
cmd.AddCommand(newUpgradePrintCmd())
// blockchain upgrade apply
cmd.AddCommand(newUpgradeApplyCmd())
return cmd
}