Skip to content

Commit

Permalink
refactor(cli): make query and tx command sets public
Browse files Browse the repository at this point in the history
refs ovrclk/engineering#548

Signed-off-by: Artur Troian <[email protected]>
  • Loading branch information
troian committed Sep 19, 2022
1 parent 03749e3 commit e7398fe
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cmd/akash/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@ func initRootCmd(rootCmd *cobra.Command, encodingConfig params.EncodingConfig) {
rootCmd.AddCommand(
rpc.StatusCommand(),
ecmd.EventCmd(),
queryCmd(),
txCmd(),
QueryCmd(),
TxCmd(),
keys.Commands(app.DefaultHome),
genutilcli.InitCmd(app.ModuleBasics(), app.DefaultHome),
genutilcli.CollectGenTxsCmd(banktypes.GenesisBalancesIterator{}, app.DefaultHome),
Expand Down Expand Up @@ -218,7 +218,7 @@ func createAppAndExport(
return akashApp.ExportAppStateAndValidators(forZeroHeight, jailAllowedAddrs)
}

func queryCmd() *cobra.Command {
func QueryCmd() *cobra.Command {
cmd := &cobra.Command{
Use: "query",
Aliases: []string{"q"},
Expand All @@ -240,7 +240,7 @@ func queryCmd() *cobra.Command {
return cmd
}

func txCmd() *cobra.Command {
func TxCmd() *cobra.Command {
cmd := &cobra.Command{
Use: "tx",
Short: "Transactions subcommands",
Expand Down

0 comments on commit e7398fe

Please sign in to comment.