flutterflow_cli 0.0.34
flutterflow_cli: ^0.0.34 copied to clipboard
Command-line client for FlutterFlow. Export code from FlutterFlow projects and use FlutterFlow AI to build and edit your apps declaratively from the terminal.
Installation #
dart pub global activate flutterflow_cli
FlutterFlow AI Workspace #
Create a workspace for a new app:
flutterflow ai init my-app --env beta
cd my-app
flutterflow ai validate dsl/create.dart
Create a workspace for an existing project:
flutterflow ai init my-edits --env beta --project ProjectID
cd my-edits
flutterflow ai inspect ProjectID
flutterflow ai validate dsl/edit.dart --project-id ProjectID
See the package README for the full FlutterFlow AI workflow.
Export Code #
Download generated Flutter code:
flutterflow export-code --project ProjectID --token APIToken
You can set your API token as an environment variable instead of passing --token:
export FLUTTERFLOW_API_TOKEN="APIToken"
See README for all commands and flags.