Skip to content

Commit

Permalink
chore: disable web commands (#4403)
Browse files Browse the repository at this point in the history
* chore: disable web commands

* typos

* hide

* `make lint-fix`
  • Loading branch information
julienrbrt authored Nov 14, 2024
1 parent bf2539d commit 6863788
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 9 deletions.
7 changes: 4 additions & 3 deletions ignite/cmd/generate_composables.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@ import (

func NewGenerateComposables() *cobra.Command {
c := &cobra.Command{
Use: "composables",
Short: "TypeScript frontend client and Vue 3 composables",
RunE: generateComposablesHandler,
Hidden: true, // hidden util we have a better ts-client.
Use: "composables",
Short: "TypeScript frontend client and Vue 3 composables",
RunE: generateComposablesHandler,
}

c.Flags().AddFlagSet(flagSetYes())
Expand Down
7 changes: 4 additions & 3 deletions ignite/cmd/generate_hooks.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@ import (

func NewGenerateHooks() *cobra.Command {
c := &cobra.Command{
Use: "hooks",
Short: "TypeScript frontend client and React hooks",
RunE: generateHooksHandler,
Hidden: true, // hidden util we have a better ts-client.
Use: "hooks",
Short: "TypeScript frontend client and React hooks",
RunE: generateHooksHandler,
}

c.Flags().AddFlagSet(flagSetYes())
Expand Down
5 changes: 3 additions & 2 deletions ignite/cmd/generate_typescript_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ const (

func NewGenerateTSClient() *cobra.Command {
c := &cobra.Command{
Use: "ts-client",
Short: "TypeScript frontend client",
Hidden: true, // hidden util we have a better ts-client.
Use: "ts-client",
Short: "TypeScript frontend client",
Long: `Generate a framework agnostic TypeScript client for your blockchain project.
By default the TypeScript client is generated in the "ts-client/" directory. You
Expand Down
1 change: 1 addition & 0 deletions ignite/cmd/scaffold_react.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import (
// NewScaffoldReact scaffolds a React app for a chain.
func NewScaffoldReact() *cobra.Command {
c := &cobra.Command{
Hidden: true, // hidden util we have a better ts-client.
Use: "react",
Short: "React web app template",
Args: cobra.NoArgs,
Expand Down
1 change: 1 addition & 0 deletions ignite/cmd/scaffold_vue.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import (
// NewScaffoldVue scaffolds a Vue.js app for a chain.
func NewScaffoldVue() *cobra.Command {
c := &cobra.Command{
Hidden: true, // hidden util we have a better ts-client.
Use: "vue",
Short: "Vue 3 web app template",
Args: cobra.NoArgs,
Expand Down
3 changes: 2 additions & 1 deletion ignite/pkg/cosmosutil/gentx.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ import (

sdkmath "cosmossdk.io/math"

"github.com/cometbft/cometbft/crypto/ed25519"
sdk "github.com/cosmos/cosmos-sdk/types"

"github.com/cometbft/cometbft/crypto/ed25519"

"github.com/ignite/cli/v29/ignite/pkg/errors"
)

Expand Down

0 comments on commit 6863788

Please sign in to comment.