From e7398fe0096c87d17da769bff76d1d3eeec5fe7b Mon Sep 17 00:00:00 2001 From: Artur Troian Date: Mon, 19 Sep 2022 18:51:00 -0400 Subject: [PATCH] refactor(cli): make query and tx command sets public refs ovrclk/engineering#548 Signed-off-by: Artur Troian --- cmd/akash/cmd/root.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cmd/akash/cmd/root.go b/cmd/akash/cmd/root.go index b08e31e9d7..b7d41a01cb 100644 --- a/cmd/akash/cmd/root.go +++ b/cmd/akash/cmd/root.go @@ -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), @@ -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"}, @@ -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",