diff --git a/cli/commands/chain/chains.go b/cli/commands/chain/chains.go index be871a1d..3b42a638 100644 --- a/cli/commands/chain/chains.go +++ b/cli/commands/chain/chains.go @@ -29,6 +29,7 @@ maintenance within the specified blockchain ecosystem.`, chainCmd.AddCommand(types.NewIconCmd(diveContext)) chainCmd.AddCommand(types.NewEthCmd(diveContext)) chainCmd.AddCommand(types.NewHardhatCmd(diveContext)) + chainCmd.AddCommand(types.NewCosmosCmd(diveContext)) return chainCmd diff --git a/cli/commands/chain/types/cosmos.go b/cli/commands/chain/types/cosmos.go new file mode 100644 index 00000000..11031c1c --- /dev/null +++ b/cli/commands/chain/types/cosmos.go @@ -0,0 +1,21 @@ +package types + +import ( + "github.com/hugobyte/dive/common" + "github.com/spf13/cobra" +) + +func NewCosmosCmd(diveContext *common.DiveContext) *cobra.Command { + + cosmosCmd := &cobra.Command{ + Use: "cosmos", + Short: "Build, initialize and start a cosmos node.", + Long: `The command starts an Cosmos node, initiating the process of setting up and launching a local cosmos network. +It establishes a connection to the Cosmos network and allows the node in executing smart contracts and maintaining the decentralized ledger.`, + Run: func(cmd *cobra.Command, args []string) { + + }, + } + + return cosmosCmd +}