File tree Expand file tree Collapse file tree 2 files changed +23
-1
lines changed
Expand file tree Collapse file tree 2 files changed +23
-1
lines changed Original file line number Diff line number Diff line change 1+ ## Installation
2+ ``` sh
3+ dart pub global activate flutterflow_cli
4+ ```
5+
6+ ## How to use
7+
8+ Base command with required flags:
9+ ``` sh
10+ flutterflow export-code --project ProjectID --token APIToken
11+ ```
12+ See [ README] ( https://pub.dev/packages/flutterflow_cli ) for the full list of available flags.
13+
14+ ## Setting API Token Variable
15+
16+ Your API Token can be added as the environment variable ` FLUTTERFLOW_API_TOKEN ` . This means you don't have to manually pass the ` --token ` flag.
17+
18+ See your corresponding operating system guide:
19+
20+ * [ MacOS] ( https://support.apple.com/en-gb/guide/terminal/apd382cc5fa-4f58-4449-b20a-41c53c006f8f/mac )
21+ * [ Linux] ( https://linuxize.com/post/how-to-set-and-list-environment-variables-in-linux/#persistent-environment-variables )
22+ * [ Windows] ( https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_environment_variables?view=powershell-7.4#saving-environment-variables-with-the-system-control-panel )
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ environment:
1111dependencies :
1212 archive : ^3.3.5
1313 args : ^2.3.0
14- http : ^0.13.5
14+ http : ^1.1.0
1515 path : ^1.8.0
1616
1717dev_dependencies :
You can’t perform that action at this time.
0 commit comments