Skip to content

Commit d9baed5

Browse files
committed
name the flag project-environment instead
1 parent 0e6e345 commit d9baed5

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## 0.0.22
22

3-
- Add `--environment-name` option.
3+
- Add `--project-environment` option.
44

55
## 0.0.21
66

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ API access is available only to users with active subscriptions. Visit https://a
3232
| `--[no-]parent-folder` | None | [Optional] Whether to download code into a project-named sub-folder. If true, downloads all project files directly to the specified directory. Defaults to `true`. |
3333
| `--[no-]as-module` | None | [Optional] Whether to generate the project as a Flutter module. Defaults to `false`. |
3434
| `--[no-]as-debug` | None | [Optional] Whether to generate the project with debug logging to be able to use FlutterFlow Debug Panel inside the DevTools. Defaults to `false`. |
35-
| `--environment-name` | None | [Optional] Which project environment to be used. Defaults to `Production`. |
35+
| `--project-environment` | None | [Optional] Which project environment to be used. If empty, the current environment in the project will be used.|
3636
## Deploy Firebase
3737

3838
### Prerequisites

bin/flutterflow_cli.dart

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,9 +133,8 @@ ArgResults _parseArgs(List<String> args) {
133133
defaultsTo: false,
134134
)
135135
..addOption(
136-
'environment-name',
137-
help: '(Optional) Specify a environment name.',
138-
defaultsTo: 'Production',
136+
'project-environment',
137+
help: '(Optional) Specify a project environment name.',
139138
);
140139

141140
final firebaseDeployCommandParser = ArgParser()

0 commit comments

Comments
 (0)