diff --git a/docs/testing-deployment-publishing/exporting-code/ff-cli.md b/docs/testing-deployment-publishing/exporting-code/ff-cli.md index 6f5f3559..0a928e40 100644 --- a/docs/testing-deployment-publishing/exporting-code/ff-cli.md +++ b/docs/testing-deployment-publishing/exporting-code/ff-cli.md @@ -64,12 +64,27 @@ To use the CLI, you'll need to create an API token and use it in your requests. | Flag | Behavior | Default | | --- | --- | --- | -| --dest / -d | Specifies a destination folder other than the current directory | Current directory | -| --[no]-include-assets | Option to download assets (images, GIFs). Useful for consecutive code exports if the assets folder hasn't changed | False | -| --branch-name / -b | Downloads from a specific branch | Main | -| --[no]-fix | Option to run dart fix on the code after downloading | False | -| --[no]-parent-folder | Option to download the code into a subfolder instead of directly into the directory | False | +| --dest / -d | Specifies a destination folder other than the current directory. | Current directory | +| --[no]-include-assets | Option to download assets (images, GIFs). Useful for consecutive code exports if the assets folder hasn't changed. | False | +| --branch-name / -b | Downloads from a specific branch. | Main | +| --[no]-fix | Option to run dart fix on the code after downloading. | False | +| --[no]-parent-folder | Option to download the code into a subfolder instead of directly into the directory. | False | +| --[no]-as-module | Whether to generate the project as a Flutter module. | False | +| --[no]-as-debug | Whether to generate the project with debug logging to be able to use FlutterFlow Debug Panel inside the DevTools. | False | +| --project-environment | Which [development environment](../development-environments/development-environments.md) to be used. If empty, the current environment in the project will be downloaded. | Current environment | ## Filtered exports -We've developed [a solution](https://github.com/krabhishek/flutterflow-filtered-pull) that allows you to use the CLI tool without overwriting specific files or directories. This is especially useful if you're managing code outside of FlutterFlow and want to prevent it from being overwritten during a code export. \ No newline at end of file +We've developed [a solution](https://github.com/krabhishek/flutterflow-filtered-pull) that allows you to use the CLI tool without overwriting specific files or directories. This is especially useful if you're managing code outside of FlutterFlow and want to prevent it from being overwritten during a code export. + +## FAQ +
+I am getting an error as FormatException: Missing argument for… +

+This error likely indicates that you haven't correctly entered the command option along with its value. Double-check that all required information has been entered. If everything is correct and you're still encountering the error, it might be due to using an outdated version of the FlutterFlow CLI. To resolve this, you can update to the latest version by running the installation command: +``` +dart pub global activate flutterflow_cli +``` +This should update the CLI and fix the issue. +

+
\ No newline at end of file