You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/testing-deployment-publishing/exporting-code/ff-cli.md
+21-6Lines changed: 21 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -64,12 +64,27 @@ To use the CLI, you'll need to create an API token and use it in your requests.
64
64
65
65
| Flag | Behavior | Default |
66
66
| --- | --- | --- |
67
-
| --dest / -d | Specifies a destination folder other than the current directory | Current directory |
68
-
| --[no]-include-assets | Option to download assets (images, GIFs). Useful for consecutive code exports if the assets folder hasn't changed | False |
69
-
| --branch-name / -b | Downloads from a specific branch | Main |
70
-
| --[no]-fix | Option to run dart fix on the code after downloading | False |
71
-
| --[no]-parent-folder | Option to download the code into a subfolder instead of directly into the directory | False |
67
+
| --dest / -d | Specifies a destination folder other than the current directory. | Current directory |
68
+
| --[no]-include-assets | Option to download assets (images, GIFs). Useful for consecutive code exports if the assets folder hasn't changed. | False |
69
+
| --branch-name / -b | Downloads from a specific branch. | Main |
70
+
| --[no]-fix | Option to run dart fix on the code after downloading. | False |
71
+
| --[no]-parent-folder | Option to download the code into a subfolder instead of directly into the directory. | False |
72
+
| --[no]-as-module | Whether to generate the project as a Flutter module. | False |
73
+
| --[no]-as-debug | Whether to generate the project with debug logging to be able to use FlutterFlow Debug Panel inside the DevTools. | False |
74
+
| --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 |
72
75
73
76
## Filtered exports
74
77
75
-
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.
78
+
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.
79
+
80
+
## FAQ
81
+
<details>
82
+
<summary>I am getting an error as FormatException: Missing argument for…</summary>
83
+
<p>
84
+
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:
0 commit comments