diff --git a/cli/commands/bridge/bridge.go b/cli/commands/bridge/bridge.go index f44e1c2e..efe13009 100644 --- a/cli/commands/bridge/bridge.go +++ b/cli/commands/bridge/bridge.go @@ -26,7 +26,8 @@ func NewBridgeCmd(diveContext *common.DiveContext) *cobra.Command { var bridgeCmd = &cobra.Command{ Use: "bridge", Short: "Command for cross chain communication between two different chains", - Long: `To connect two different chains using any of the supported cross chain communication protocols. This will create an relay to connect two different chains and pass any messages between them.`, + Long: `To connect two different chains using any of the supported cross chain communication protocols. +This will create an relay to connect two different chains and pass any messages between them.`, Run: func(cmd *cobra.Command, args []string) { cmd.Help() }, @@ -41,7 +42,7 @@ func btpBridgeCmd(diveContext *common.DiveContext) *cobra.Command { var btpbridgeCmd = &cobra.Command{ Use: "btp", - Short: "Starts Bridge BTP between ChainA and Chain B", + Short: "Starts BTP Bridge between ChainA and ChainB", Long: ``, Run: func(cmd *cobra.Command, args []string) { if len(args) != 0 { diff --git a/cli/commands/chain/chains.go b/cli/commands/chain/chains.go index aeda3556..be871a1d 100644 --- a/cli/commands/chain/chains.go +++ b/cli/commands/chain/chains.go @@ -14,10 +14,12 @@ func NewChainCmd(diveContext *common.DiveContext) *cobra.Command { var chainCmd = &cobra.Command{ Use: "chain", - Short: "Build, initialize and start a given blockchain node.", - Long: `The command builds, initializes, and starts a specified blockchain node, providing a seamless setup process. It encompasses compiling and configuring the - necessary dependencies and components required for the blockchain network. By executing this command, the node is launched, enabling network participation, transaction - processing, and ledger maintenance within the specified blockchain ecosystem.`, + Short: "Build, initialize and start a given blockchain node", + Long: `The command builds, initializes, and starts a specified blockchain node, providing a seamless setup process. +It encompasses compiling and configuring the necessary dependencies and components required for the blockchain network. +By executing this command, the node is launched, enabling network participation, transaction processing, and ledger +maintenance within the specified blockchain ecosystem.`, + Run: func(cmd *cobra.Command, args []string) { cmd.Help() diff --git a/cli/commands/chain/types/eth.go b/cli/commands/chain/types/eth.go index ee716836..c90d77a1 100644 --- a/cli/commands/chain/types/eth.go +++ b/cli/commands/chain/types/eth.go @@ -11,8 +11,8 @@ func NewEthCmd(diveContext *common.DiveContext) *cobra.Command { var ethCmd = &cobra.Command{ Use: "eth", Short: "Build, initialize and start a eth node.", - Long: `The command starts an Ethereum node, initiating the process of setting up and launching a local Ethereum network. It establishes a connection to the Ethereum -network and allows the node in executing smart contracts and maintaining the decentralized ledger.`, + Long: `The command starts an Ethereum node, initiating the process of setting up and launching a local Ethereum network. +It establishes a connection to the Ethereum network and allows the node in executing smart contracts and maintaining the decentralized ledger.`, Run: func(cmd *cobra.Command, args []string) { if len(args) != 0 { diff --git a/cli/commands/chain/types/hardhat.go b/cli/commands/chain/types/hardhat.go index 5395544d..1790ef6b 100644 --- a/cli/commands/chain/types/hardhat.go +++ b/cli/commands/chain/types/hardhat.go @@ -11,8 +11,8 @@ func NewHardhatCmd(diveContext *common.DiveContext) *cobra.Command { var ethCmd = &cobra.Command{ Use: "hardhat", Short: "Build, initialize and start a hardhat node.", - Long: `The command starts an hardhat node, initiating the process of setting up and launching a local hardhat network. It establishes a connection to the hardhat -network and allows the node in executing smart contracts and maintaining the decentralized ledger.`, + Long: `The command starts an hardhat node, initiating the process of setting up and launching a local hardhat network. +It establishes a connection to the hardhat network and allows the node in executing smart contracts and maintaining the decentralized ledger.`, Run: func(cmd *cobra.Command, args []string) { if len(args) != 0 { diff --git a/cli/commands/chain/types/icon.go b/cli/commands/chain/types/icon.go index 20b5b547..10b119fe 100644 --- a/cli/commands/chain/types/icon.go +++ b/cli/commands/chain/types/icon.go @@ -68,8 +68,8 @@ func NewIconCmd(diveContext *common.DiveContext) *cobra.Command { var iconCmd = &cobra.Command{ Use: "icon", Short: "Build, initialize and start a icon node.", - Long: `The command starts an Icon node, initiating the process of setting up and launching a local Icon network. It establishes a connection to the Icon -network and allows the node in executing smart contracts and maintaining the decentralized ledger.`, + Long: `The command starts an Icon node, initiating the process of setting up and launching a local Icon network. +It establishes a connection to the Icon network and allows the node in executing smart contracts and maintaining the decentralized ledger.`, Run: func(cmd *cobra.Command, args []string) { if len(args) != 0 { @@ -143,10 +143,10 @@ network and allows the node in executing smart contracts and maintaining the dec }, } - iconCmd.Flags().StringVarP(&id, "id", "i", "", "chain id") - iconCmd.Flags().StringVarP(&genesis, "genesis", "g", "", "gen file") - iconCmd.Flags().StringVarP(&configFilePath, "config", "c", "", "gen file") - iconCmd.Flags().BoolP("decentralisation", "d", false, "Decentralise Icon Node") + iconCmd.Flags().StringVarP(&id, "id", "i", "", "custom chain id for icon node") + iconCmd.Flags().StringVarP(&genesis, "genesis", "g", "", "path to custom genesis file") + iconCmd.Flags().StringVarP(&configFilePath, "config", "c", "", "path to custom config json file") + iconCmd.Flags().BoolP("decentralisation", "d", false, "decentralise Icon Node") decentralisationCmd := IconDecentralisationCmd(diveContext) diff --git a/cli/commands/discord/discord.go b/cli/commands/discord/discord.go index c37ba364..948e0c30 100644 --- a/cli/commands/discord/discord.go +++ b/cli/commands/discord/discord.go @@ -9,14 +9,15 @@ import ( "github.com/spf13/cobra" ) -const diveURL = "https://discord.com/channels/1097522975630184469/1124224608250376293" +const diveURL = "https://discord.gg/tgbKGsGE" // discordCmd redirects users to DIVE discord channel var DiscordCmd = &cobra.Command{ Use: "discord", Short: "Opens DIVE discord channel", - Long: `The command opens the Discord channel for DIVE, providing a direct link or launching the Discord application to access the dedicated DIVE community. It allows -users to engage in discussions, seek support, share insights, and collaborate with other members of the DIVE community within the Discord platform.`, + Long: `The command opens the Discord channel for DIVE, providing a direct link or launching the Discord application +to access the dedicated DIVE community. It allows users to engage in discussions, seek support, share insights, and +collaborate with other members of the DIVE community within the Discord platform.`, Run: func(cmd *cobra.Command, args []string) { logrus.Info("Redirecting to DIVE discord channel...") if err := common.OpenFile(diveURL); err != nil { diff --git a/cli/commands/tutorial/tutorial.go b/cli/commands/tutorial/tutorial.go index 5c04f369..58dcb83b 100644 --- a/cli/commands/tutorial/tutorial.go +++ b/cli/commands/tutorial/tutorial.go @@ -15,8 +15,9 @@ const tutorialURL = "https://www.youtube.com/@hugobyte" var TutorialCmd = &cobra.Command{ Use: "tutorial", Short: "Opens DIVE tutorial youtube playlist", - Long: `The command opens the YouTube playlist containing DIVE tutorials. It launches a web browser or the YouTube application, directing users to a curated collection of -tutorial videos specifically designed to guide and educate users about DIVE. The playlist offers step-by-step instructions, tips, and demonstrations to help users better understand and utilize the features and functionalities of DIVE.`, + Long: `The command opens the YouTube playlist containing DIVE tutorials. It launches a web browser or the YouTube application, +directing users to a curated collection of tutorial videos specifically designed to guide and educate users about DIVE. The playlist +offers step-by-step instructions, tips, and demonstrations to help users better understand and utilize the features and functionalities of DIVE.`, Run: func(cmd *cobra.Command, args []string) { logrus.Info("Redirecting to YouTube...") if err := common.OpenFile(tutorialURL); err != nil { diff --git a/cli/commands/twitter/twitter.go b/cli/commands/twitter/twitter.go index 80c028eb..e195da0b 100644 --- a/cli/commands/twitter/twitter.go +++ b/cli/commands/twitter/twitter.go @@ -15,8 +15,10 @@ const twitterURL = "https://twitter.com/hugobyte" var TwitterCmd = &cobra.Command{ Use: "twitter", Short: "Opens official HugoByte twitter home page", - Long: `The command opens the official HugoByte Twitter homepage. It launches a web browser and directs users to the designated Twitter profile of HugoByte, providing -access to the latest updates, announcements, news, and insights shared by the official HugoByte Twitter account. Users can stay informed about HugoByte's activities, engage with the community, and follow our social media presence directly from the Twitter homepage.`, + Long: `The command opens the official HugoByte Twitter homepage. It launches a web browser and directs users +to the designated Twitter profile of HugoByte, providing access to the latest updates, announcements, news, and insights +shared by the official HugoByte Twitter account. Users can stay informed about HugoByte's activities, engage with the +community, and follow our social media presence directly from the Twitter homepage.`, Run: func(cmd *cobra.Command, args []string) { logrus.Info("Redirecting to twitter...") if err := common.OpenFile(twitterURL); err != nil {