Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
julienrbrt committed Jul 9, 2023
1 parent adb03ec commit 53a0786
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 13 deletions.
2 changes: 2 additions & 0 deletions docs/docs/core/07-cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
sidebar_position: 1
---

<!-- update here and better mention autocli -->

# Command-Line Interface

:::note Synopsis
Expand Down
2 changes: 0 additions & 2 deletions types/module/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,6 @@ type AppModuleBasic interface {
HasName
RegisterLegacyAminoCodec(*codec.LegacyAmino)
RegisterInterfaces(types.InterfaceRegistry)

// client functionality
RegisterGRPCGatewayRoutes(client.Context, *runtime.ServeMux)
}

Expand Down
5 changes: 0 additions & 5 deletions x/auth/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,6 @@ func (AppModuleBasic) RegisterGRPCGatewayRoutes(clientCtx client.Context, mux *g
}
}

// GetTxCmd returns the root tx command for the auth module.
func (AppModuleBasic) GetTxCmd() *cobra.Command {
return nil
}

// GetQueryCmd returns the root query command for the auth module.
func (ab AppModuleBasic) GetQueryCmd() *cobra.Command {
return cli.GetQueryCmd(ab.ac)
Expand Down
6 changes: 0 additions & 6 deletions x/nft/module/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,12 +84,6 @@ func (AppModuleBasic) RegisterGRPCGatewayRoutes(clientCtx sdkclient.Context, mux
}
}

// GetQueryCmd returns a no-op command for the nft module.
// Queries for NFT are registered by autocli.
func (ab AppModuleBasic) GetQueryCmd() *cobra.Command {
return nil
}

// GetTxCmd returns the transaction commands for the nft module
func (AppModuleBasic) GetTxCmd() *cobra.Command {
return cli.GetTxCmd()
Expand Down

0 comments on commit 53a0786

Please sign in to comment.