Skip to content

Commit b5ae39a

Browse files
authored
refactor(cmd)!: deprecate ignite node command (#4189)
* refactor(cmd)!: deprecate `ignite node`command * changelog * updates * update ignite account note
1 parent ab4b919 commit b5ae39a

14 files changed

+6
-1171
lines changed

changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
- [#4160](https://github.com/ignite/cli/pull/4160) Enable copyloopvar linter
4545
- [#4162](https://github.com/ignite/cli/pull/4162) Enable errcheck linter
4646
- [#4194](https://github.com/ignite/cli/pull/4194) Bump client/v2 to `v2.0.0-beta.2`
47+
- [#4189](https://github.com/ignite/cli/pull/4189) Deprecate `ignite node` for `ignite connect` app
4748

4849
### Fixes
4950

ignite/cmd/account.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ func NewAccount() *cobra.Command {
2525
Short: "Create, delete, and show Ignite accounts",
2626
Long: `Commands for managing Ignite accounts. An Ignite account is a private/public
2727
keypair stored in a keyring. Currently Ignite accounts are used when interacting
28-
with Ignite relayer commands and when using "ignite network" commands.
28+
with Ignite Apps (namely ignite relayer, ignite network and ignite connect).
2929
3030
Note: Ignite account commands are not for managing your chain's keys and accounts. Use
3131
you chain's binary to manage accounts from "config.yml". For example, if your

ignite/cmd/cmd.go

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ To get started, create a blockchain:
8484
NewScaffold(),
8585
NewChain(),
8686
NewGenerate(),
87-
NewNode(),
8887
NewAccount(),
8988
NewDocs(),
9089
NewVersion(),
@@ -148,11 +147,6 @@ func flagSetHome() *flag.FlagSet {
148147
return fs
149148
}
150149

151-
func getHome(cmd *cobra.Command) (home string) {
152-
home, _ = cmd.Flags().GetString(flagHome)
153-
return
154-
}
155-
156150
func flagSetConfig() *flag.FlagSet {
157151
fs := flag.NewFlagSet("", flag.ContinueOnError)
158152
fs.StringP(flagConfig, "c", "", "path to Ignite config file (default: ./config.yml)")
@@ -239,6 +233,10 @@ func deprecated() []*cobra.Command {
239233
Use: "faucet",
240234
Deprecated: "use `ignite chain faucet` instead.",
241235
},
236+
{
237+
Use: "node",
238+
Deprecated: "use ignite connect app instead (ignite app install -g github.com/ignite/apps/connect).",
239+
},
242240
}
243241
}
244242

ignite/cmd/node.go

Lines changed: 0 additions & 80 deletions
This file was deleted.

ignite/cmd/node_query.go

Lines changed: 0 additions & 76 deletions
This file was deleted.

ignite/cmd/node_query_bank.go

Lines changed: 0 additions & 14 deletions
This file was deleted.

ignite/cmd/node_query_bank_balances.go

Lines changed: 0 additions & 59 deletions
This file was deleted.

ignite/cmd/node_query_tx.go

Lines changed: 0 additions & 45 deletions
This file was deleted.

0 commit comments

Comments
 (0)