Skip to content

Commit c396069

Browse files
authored
Merge branch 'main' into luan.better-validation
2 parents cf7a1dc + 76172c4 commit c396069

File tree

3 files changed

+461
-12
lines changed

3 files changed

+461
-12
lines changed

README.md

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,20 @@
11
[![Pub](https://img.shields.io/pub/v/ignite_cli.svg?style=popout)](https://pub.dartlang.org/packages/ignite_cli)
2-
[![Test](https://github.com/flame-engine/ignite-cli/workflows/Test/badge.svg?branch=main&event=push)](https://github.com/flame-engine/ignite-cli/actions)
2+
[![Test](https://github.com/flame-engine/ignite-cli/workflows/Test/badge.svg)](https://github.com/flame-engine/ignite-cli/actions)
33
[![Discord](https://img.shields.io/discord/509714518008528896.svg)](https://discord.gg/pxrBmy4)
44

55
# ignite-cli
66

77
Simple CLI interface for Ignite; scaffold and setup your Flame projects with ease.
88

9+
![ignite-cli](./media/ignite-example.cast.gif)
10+
911

1012
## Usage
1113

1214
Install it via pub (or build from src if you prefer the latest version):
1315

1416
```bash
15-
pub global activate ignite_cli
17+
flutter pub global activate ignite_cli
1618
```
1719

1820
After you have added the bin folder to your path (the previous command will tell you what to add),
@@ -22,30 +24,35 @@ you can create a new project with Ignite, just run:
2224
ignite create
2325
```
2426

25-
And follow the instructions.
27+
And follow the instructions (this is called interactive mode - you might need a compatible shell for the interactive pickers to work).
28+
29+
Alternatively, you can set `--interactive=false` and manually specify all required options (error messages will be your friend):
30+
31+
```bash
32+
ignite create --interactive=false --name=my_flame_game --org=org.flame-engine.example --create-folder=true --template=example
33+
```
2634

2735

2836
## Instructions for contributors
2937

30-
Run
38+
Run:
3139

3240
```bash
33-
cd test
34-
./run.sh
41+
./scripts/test.sh
3542
```
3643

3744
To run all tests. Always make sure the build is green.
3845

3946
You will need to install the bash testing framework [bats](https://bats-core.readthedocs.io/en/stable/installation.html).
4047

41-
In order to run the application locally, run
48+
In order to run the application locally, use:
4249

4350
```bash
4451
dart bin/ignite_cli.dart
4552
```
4653

4754

48-
## Managing Templates
55+
### Managing Templates
4956

5057
This project uses [package:mason](https://pub.dev/packages/mason) to manage and generate templates (bricks).
5158

@@ -54,12 +61,10 @@ All supported bricks can be found in the [bricks](./bricks) directory.
5461
Whenever a new brick is added or an existing brick is modified, make sure to regenerate the corresponding bundles via:
5562

5663
```bash
57-
mason bundle bricks/<BRICK-NAME> -t dart -o lib/templates
64+
./scripts/build.sh
5865
```
5966

60-
This will generate a new bundle for `<BRICK-NAME>` under `lib/templates`.
61-
6267

6368
## Credits
6469

65-
This project was created with [Dart Stagehand](https://github.com/dart-lang/stagehand).
70+
This project was created with [Dart Stagehand](https://github.com/dart-lang/stagehand) and uses [Mason](https://pub.dev/packages/mason) for templating.

0 commit comments

Comments
 (0)