Skip to content

Commit

Permalink
chore: hide ignite scaffold flutter (#2991)
Browse files Browse the repository at this point in the history
* remove flutter command

* remove command

* deprecate

* changelog

* remove from docs

* remove
  • Loading branch information
Alex Johnson authored Oct 26, 2022
1 parent 70106bc commit f7a1704
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 73 deletions.
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
- [#2981](https://github.com/ignite/cli/issues/2981) Change CLI to also search chain binary in Go binary path.
- [#2958](https://github.com/ignite/cli/pull/2958) Support absolute paths for client code generation config paths.
- [#2993](https://github.com/ignite/cli/pull/2993) Hide `ignite scaffold band` command and deprecate functionality.
- [#2991](https://github.com/ignite/cli/pull/2991) Hide `ignite scaffold flutter` command and remove functionality.

## [`v0.25.1`](https://github.com/ignite/cli/releases/tag/v0.25.1)

Expand Down
23 changes: 0 additions & 23 deletions docs/docs/07-cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -2665,7 +2665,6 @@ with an "--ibc" flag. Note that the default module is not IBC-enabled.

* [ignite](#ignite) - Ignite CLI offers everything you need to scaffold, test, build, and launch your blockchain
* [ignite scaffold chain](#ignite-scaffold-chain) - Fully-featured Cosmos SDK blockchain
* [ignite scaffold flutter](#ignite-scaffold-flutter) - A Flutter app for your chain
* [ignite scaffold list](#ignite-scaffold-list) - CRUD for data stored as an array
* [ignite scaffold map](#ignite-scaffold-map) - CRUD for data stored as key-value pairs
* [ignite scaffold message](#ignite-scaffold-message) - Message to perform state transition on the blockchain
Expand Down Expand Up @@ -2742,28 +2741,6 @@ ignite scaffold chain [name] [flags]

* [ignite scaffold](#ignite-scaffold) - Scaffold a new blockchain, module, message, query, and more


## ignite scaffold flutter

A Flutter app for your chain

```
ignite scaffold flutter [flags]
```

**Options**

```
-h, --help help for flutter
-p, --path string path to scaffold content of the Flutter app (default "./flutter")
-y, --yes answers interactive yes/no questions with yes
```

**SEE ALSO**

* [ignite scaffold](#ignite-scaffold) - Scaffold a new blockchain, module, message, query, and more


## ignite scaffold list

CRUD for data stored as an array
Expand Down
1 change: 0 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ require (
github.com/spf13/pflag v1.0.5
github.com/stretchr/testify v1.8.0
github.com/takuoki/gocase v1.0.0
github.com/tendermint/flutter/v2 v2.0.4
github.com/tendermint/spn v0.2.1-0.20220921200247-8bafad876bdd
github.com/tendermint/tendermint v0.34.22
github.com/tendermint/tm-db v0.6.7
Expand Down
2 changes: 0 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1714,8 +1714,6 @@ github.com/tendermint/btcd v0.1.1 h1:0VcxPfflS2zZ3RiOAHkBiFUcPvbtRj5O7zHmcJWHV7s
github.com/tendermint/btcd v0.1.1/go.mod h1:DC6/m53jtQzr/NFmMNEu0rxf18/ktVoVtMrnDD5pN+U=
github.com/tendermint/crypto v0.0.0-20191022145703-50d29ede1e15 h1:hqAk8riJvK4RMWx1aInLzndwxKalgi5rTqgfXxOxbEI=
github.com/tendermint/crypto v0.0.0-20191022145703-50d29ede1e15/go.mod h1:z4YtwM70uOnk8h0pjJYlj3zdYwi9l03By6iAIF5j/Pk=
github.com/tendermint/flutter/v2 v2.0.4 h1:0/FndUq1YgzNwfaDMZYHul6hb6A5yBX2nEZfJRaxZcI=
github.com/tendermint/flutter/v2 v2.0.4/go.mod h1:hnaVhWhzv2Od1LqZFWrRKwiOHeMonsB9EIWP0AGMPw0=
github.com/tendermint/fundraising v0.3.1 h1:S4uOV/T7YNBqXhsCZnq/TUoHB0d2kM+6tKeTD4WhLN0=
github.com/tendermint/go-amino v0.16.0 h1:GyhmgQKvqF82e2oZeuMSp9JTN0N09emoSZlb2lyGa2E=
github.com/tendermint/go-amino v0.16.0/go.mod h1:TQU0M1i/ImAo+tYpZi73AU3V/dKeCoMC9Sphe2ZwGME=
Expand Down
1 change: 0 additions & 1 deletion ignite/cmd/scaffold.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ with an "--ibc" flag. Note that the default module is not IBC-enabled.
c.AddCommand(NewScaffoldPacket())
c.AddCommand(NewScaffoldBandchain())
c.AddCommand(NewScaffoldVue())
c.AddCommand(NewScaffoldFlutter())
// c.AddCommand(NewScaffoldWasm())

return c
Expand Down
38 changes: 0 additions & 38 deletions ignite/cmd/scaffold_flutter.go

This file was deleted.

9 changes: 1 addition & 8 deletions ignite/services/scaffolder/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ import (
"github.com/go-git/go-git/v5"
"github.com/go-git/go-git/v5/plumbing/object"
"github.com/gobuffalo/genny"
vue "github.com/ignite/web"
"github.com/tendermint/flutter/v2"

"github.com/ignite/cli/ignite/pkg/cache"
"github.com/ignite/cli/ignite/pkg/cmdrunner/exec"
"github.com/ignite/cli/ignite/pkg/cmdrunner/step"
Expand All @@ -22,6 +19,7 @@ import (
"github.com/ignite/cli/ignite/pkg/placeholder"
"github.com/ignite/cli/ignite/templates/app"
modulecreate "github.com/ignite/cli/ignite/templates/module/create"
vue "github.com/ignite/web"
)

var (
Expand Down Expand Up @@ -140,11 +138,6 @@ func Vue(path string) error {
return localfs.Save(vue.Boilerplate(), path)
}

// Flutter scaffolds a Flutter app for a chain.
func Flutter(path string) error {
return localfs.Save(flutter.Boilerplate(), path)
}

func initGit(path string) error {
repo, err := git.PlainInit(path, false)
if err != nil {
Expand Down

0 comments on commit f7a1704

Please sign in to comment.