flutterflow_cli 0.0.8
flutterflow_cli: ^0.0.8 copied to clipboard
Command-line client for FlutterFlow. Export code from FlutterFlow projects.
FlutterFlow CLI #
FlutterFlow CLI client. Currently it only allows exporting code from FlutterFlow.
API Token #
API access is available only to users with active subscriptions. Visit https://app.flutterflow.io/account to generate your API token.
Installation #
dart pub global activate flutterflow_cli
Usage #
flutterflow export-code --project <project id> --dest <output folder> --[no-]include-assets --token <token> --[no-]fix
Alternatively, instead of passing --token
you can set FLUTTERFLOW_API_TOKEN
environment variable.
Flags #
Flag | Abbreviation | Usage |
---|---|---|
--project |
-p |
[Required] Project ID |
--token |
-t |
[Required or environment variable] API Token |
--dest |
-d |
[Optional] Output folder |
--[no-]include-assets |
None | [Optional] Whether to include media assets. Defaults to false |
--branch-name |
-b |
[Optional] Which branch to download. Defaults to main |
--[no-]fix |
None | [Optional] Whether to run dart fix on the downloaded code. Defaults to false . |
Issues #
Please file any issues in this repository.