Fission command
This Cargo package installs the first-party fission command:
fission initfission add-targetfission doctorfission devicesfission runfission buildfission testfission logsfission ...
Usage
Create a new app:
Register an existing app or example without overwriting existing files:
When the directory already has source, docs, assets, or platform files, init preserves them. It derives the package name from Cargo.toml when possible, detects existing platforms/<target>/ folders, writes fission.toml, and creates only missing generated support files.
Create a new app against a local Fission checkout:
Add more platform targets:
Check local SDKs, emulators, browsers, and Rust targets:
List runnable devices and targets:
Run and attach to app output/logs:
fission run attaches by default. Use --detach to start the app and return, then use fission logs to attach later where the platform supports it:
Build or run smoke tests without launching the full attached workflow:
Current platform status
windows,macos,linux: scaffolded and runnable throughfission runios: scaffolded by the CLI and runnable on the simulator throughfission run --target iosandroid: scaffolded by the CLI and runnable on a device or emulator throughfission run --target androidweb: scaffolded by the CLI and runnable in a browser throughfission run --target web
The CLI writes platform state to fission.toml and creates platforms/<target>/README.md notes with the current prerequisites and next steps for each target. For iOS it also generates:
assets/app-icon.pngseeded from Fission'sdocs/fission_logo.pngplatforms/ios/Info.plistplatforms/ios/package-sim.shplatforms/ios/run-sim.shplatforms/ios/test-sim.sh
For Android it also generates:
platforms/android/AndroidManifest.xmlplatforms/android/package-apk.shplatforms/android/run-emulator.shplatforms/android/test-emulator.sh
For Web it also generates:
platforms/web/index.htmlplatforms/web/bootstrap.mjsplatforms/web/build-wasm.shplatforms/web/run-browser.shplatforms/web/test-browser.sh
The generated iOS bundle, Android package, and browser host page all use assets/app-icon.png as the default app icon seed.
See also:
../../../docs/cli-and-targets.md../../../docs/platform-smoke-tests.md