Skip to content

Commit c0b11eb

Browse files
update README
1 parent a54b0d0 commit c0b11eb

File tree

1 file changed

+21
-2
lines changed

1 file changed

+21
-2
lines changed

README.md

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,16 @@ API access is available only to users with active subscriptions. Visit https://a
1010

1111
`dart pub global activate flutterflow_cli`
1212

13-
## Usage
13+
## Export Code
14+
15+
### Usage
1416

1517
`flutterflow export-code --project <project id> --dest <output folder> --[no-]include-assets --token <token> --[no-]fix --[no-]parent-folder --[no-]as-module`
1618

1719
* Instead of passing `--token` you can set `FLUTTERFLOW_API_TOKEN` environment variable.
1820
* Instead of passing `--project` you can set `FLUTTERFLOW_PROJECT` environment variable.
1921

20-
## Flags
22+
### Flags
2123

2224
| Flag | Abbreviation | Usage |
2325
| ----------- | ----------- | ----------- |
@@ -30,6 +32,23 @@ API access is available only to users with active subscriptions. Visit https://a
3032
| `--[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`. |
3133
| `--[no-]as-module` | None | [Optional] Whether to generate the project as a Flutter module |
3234

35+
## Deploy Firebase
36+
37+
### Usage
38+
39+
`flutterflow deploy-firebase --project <project id> --dest <output folder> --token <token>`
40+
41+
* Instead of passing `--token` you can set `FLUTTERFLOW_API_TOKEN` environment variable.
42+
* Instead of passing `--project` you can set `FLUTTERFLOW_PROJECT` environment variable.
43+
44+
### Flags
45+
46+
| Flag | Abbreviation | Usage |
47+
| ----------- | ----------- | ----------- |
48+
| `--project` | `-p` | [Required or environment variable] Project ID. |
49+
| `--token` | `-t` | [Required or environment variable] API Token. |
50+
| `--dest` | `-d` | [Optional] Output folder. Defaults to the current directory if none is specified. |
51+
3352
## Issues
3453

3554
Please file any issues in [this repository](https://github.com/flutterflow/flutterflow-issues).

0 commit comments

Comments
 (0)