mirror of
https://github.com/luxfi/cli.git
synced 2026-10-30 17:01:20 +00:00
22 lines
581 B
Go
22 lines
581 B
Go
// Copyright (C) 2025, Lux Industries Inc. All rights reserved.
|
|
// See the file LICENSE for licensing terms.
|
|
package contractcmd
|
|
|
|
import (
|
|
"github.com/luxfi/cli/v2/pkg/cobrautils"
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
// lux contract deploy
|
|
func newDeployCmd() *cobra.Command {
|
|
cmd := &cobra.Command{
|
|
Use: "deploy",
|
|
Short: "Deploy smart contracts",
|
|
Long: `The contract command suite provides a collection of tools for deploying
|
|
smart contracts on Lux networks.`,
|
|
RunE: cobrautils.CommandSuiteUsage,
|
|
}
|
|
// contract deploy erc20
|
|
cmd.AddCommand(newDeployERC20Cmd())
|
|
return cmd
|
|
} |