flutter3dUsage top-level constant
String
const flutter3dUsage
What flutter3d prints with no arguments or help.
Implementation
const String flutter3dUsage =
'''
Usage: flutter3d <command> [arguments]
Commands:
convert Bring models, materials and scenes from other tools in: glTF,
OBJ, STL, PLY, USD, MaterialX, Unity prefabs and scenes, Godot
scenes, and FBX and .blend through FBX2glTF or Blender.
create A new project (create project <dir> [--kind viewer|arcade]) or
plugin (create plugin --kind <kind> --name <name>).
init Wire the build hook into an existing project.
plugins Write lib/plugins.g.dart from the dependencies' plugin markers,
or check that it is current (--check).
shaders Write the engine's shader bundle for the stages this project
needs (--full-shaders for every one), as the build hook does.
migrate Move a project written against flutter3d 0.8 to 1.0.
lights Fewer lights for a level, judged by the pictures they make.
lightmap Bake the light a level's walls throw on each other, beside it.
visibility
Bake which cells of a level see which, beside it.
decode-worker
Compile the browser's decode worker for a web build.
doctor Check the SDKs and the optional tools.
help This text, or a command's: flutter3d help <command>.
flutter3d --version prints the version of flutter3d_build.
Exit codes:
0 ok
1 failed
2 usage error
3 refused, or out of date under --check
4 would overwrite (convert)
-h, --help and flutter3d help <command> print a command's usage to stdout
and exit 0; an option a command does not take exits 2.
--json, where a command takes it, prints one JSON document with
"format": "f3d.cli" and "version": $cliJsonVersion.
Every command also runs as `dart run flutter3d_build:<command>`, and
decode-worker as `dart run flutter3d_build:decode_worker`.''';