Command-line interface overview
The same Rust app needs different host setup on Android, iOS and desktop. Fission's
CLI manages that setup: it creates projects, records targets and capabilities,
generates host files, and invokes the tools that build and run them. App state,
reducers, widgets and effects remain in shared Rust modules rather than being
generated again for each target.
Use this reference for the command contract. The platform guides explain the
SDKs, signing and host behaviour behind each command; a successful scaffold or
smoke test is not a substitute for those checks.
How the command-line interface fits into a real workflow
Start with fission init to create the shared app and its manifest. Add the hosts
you need with fission add-target, then use doctor, devices and run to
check the toolchain, choose a destination and launch the app. Terminal uses its
shell and package workflow rather than a mobile-style host folder.
Choose the first target according to the product. Desktop gives a short local
loop, but a phone app also needs early checks of keyboard, safe-area and touch
behaviour on Android or iOS. Sharing the app does not make those host differences
disappear. Use build for artifacts and test for host smoke checks, then add
tests for the actual workflows your users depend on.
Commands at a glance
Fission exposes these public command-line interface entry points:
| | When you usually reach for it |
|---|
| Creates a new Fission project scaffold | When you are starting a new app |
fission add-target <targets...> | Adds generated host folders for more platforms | When your existing app needs another host |
fission add-capability <capabilities...> | Declares host capabilities and updates generated platform config | Before using device features such as camera, microphone, NFC, Bluetooth, Wi-Fi, or geolocation |
fission doctor [targets...] | Checks local SDKs, browsers, emulators, and Rust targets | When setting up a machine or diagnosing a broken platform loop |
| Lists runnable desktop, browser, simulator, emulator, and device targets | Before choosing where to run the app |
| Builds and launches the app, attaching output or device logs by default | During normal development |
| Builds a target without launching it | Before sharing an artifact with someone else |
| Runs the generated platform smoke test | Before merging target-specific work |
| Attaches to logs for a running or detached target where supported | When you launched with --detach or need to reconnect |
| Lists generated custom and content site routes | Before checking navigation or publishing a static site |
| Renders all static site routes and validates links without writing the final site | In pull-request validation for site content |
| Builds the static site into the configured output directory | Before publishing documentation or marketing pages |
| Builds and serves the generated static site locally | When reviewing site pages in a browser |
| Builds the server binary and route-local browser artifacts | Before packaging or deploying a server-rendered app |
| Renders all server routes and verifies the server app can produce HTML | Before deploying server-rendered routes |
| Runs the server-rendered app locally | When reviewing dynamic pages, jobs, workers, and islands |
| Generates per-worker and per-island browser artifacts | Before packaging server pages with browser enhancements |
| Packages an app, static site, or server into a release artifact manifest | Before publishing or archiving release output |
| Runs focused package, distribution, or full release preflight | Before an expensive package or provider mutation |
| Edits, validates, imports, diffs, locks, and pushes release metadata | When managing versions, build numbers, store metadata, and release records |
| Captures, renders, validates, and pushes release assets | When preparing notes, screenshots, previews, privacy files, and review material |
| Runs lower-level provider setup, publish, status, promote, or rollback operations | When a provider action is not just the common publish path |
| Runs the shared package/publish workflow or opens an interactive publish flow | When uploading to static hosts, GitHub Releases, object storage, stores, or Docker registries |
| Manages beta groups, testers, and beta distribution | When a store release needs TestFlight, Play tracks, or provider tester state |
| Inspects or imports signing references without storing secrets in the project | When preparing Android, iOS, macOS, or Windows release signing |
| Lists and replies to store reviews where provider support exists | When release operations need provider feedback loops |
| Runs named project-defined release recipes | When CI needs a repeatable sequence of Fission commands |
| Shows provider authentication setup, status, import, rotation, and audit guidance | When credentials or provider auth state are missing |
Repository developers may see the package name cargo-fission in workspace commands. That is the package that builds and installs the developer-facing fission command; product documentation and generated project files should use fission ....
Starting a new app with fission init
Run fission init <path> when you want a new project directory with the basic pieces already connected correctly.
fission init my-app
This command creates the directory, writes the starter source files, seeds the default app icon, creates an initial desktop-ready entrypoint, and records project metadata in fission.toml. If the directory already contains files, the command becomes non-destructive. It derives the package name from Cargo.toml when possible, detects existing platforms/<target>/ folders, writes or updates fission.toml, and creates only missing generated support files. It does not overwrite existing source files, README files, host pages, scripts, or assets. That means you can safely run it on an existing example or app that predates fission.toml. Important init flags
These flags matter most in day-to-day use:
| | | Notes and default behavior |
|---|
| | Sets the Rust package and crate name explicitly | By default, the directory name is used |
| | Sets the application identifier used by packaged hosts | Use a reverse-domain name such as com.example.notes if you already know your shipping identifier |
| | Points the scaffold at a local Fission checkout | Useful when developing against this repository instead of published crates |
--local-path changes the dependency source from published crates to a local
Fission checkout. Use it when contributing to the framework or testing a fix
before publication, not as a path that other developers must reproduce.
What fission init creates
The generated project is small on purpose. It gives you a runnable starting point without hiding the structure of a Fission app.
These are the files most people open first:
| | | Notes and default behavior |
|---|
| | Starts the default desktop host | This is the shortest way to run a fresh scaffold with cargo run |
| | Exposes shared entry helpers for non-desktop hosts | Generated hosts call into this shared library layer |
| | Contains the starter app logic | This is where you edit state, actions, reducers, and widgets |
| | Records project metadata and enabled targets | The command-line interface updates this file when you add targets |
| | Seeds the default application icon | Generated hosts reuse it as their starting icon asset |
platforms/<target>/README.md | | Explains prerequisites and host-specific commands for that target | Read this whenever you add a new target |
Only some of these files describe your app. src/ holds shared product
logic; platforms/ holds generated host scaffolding. That matches Fission's
split between the shared app model and the shell that runs it.
On an existing project, treat the table as "created if missing." Existing files are preserved. The main required output is fission.toml, because commands such as fission run --project-dir . --target web use it to know which targets belong to the app. Adding more hosts with fission add-target
Once you have an existing app, use fission add-target to generate another host around it.
fission add-target web ios android --project-dir my-app
This command does not duplicate your shared widgets or reducers. Instead, it updates fission.toml and writes the generated files needed for the requested hosts under platforms/. If you are new to the term, a target in this context means a host environment that packages and launches your shared app. A generated host is the platform-specific wrapper the command-line interface writes so that environment can start the shared runtime. For web, that means a browser-oriented host page and helper script. For Android, that means the generated AndroidX GameActivity packaging files and emulator script. For iOS, that means the simulator bundle template and launch script. For desktop, the initial scaffold already gives you the direct desktop entrypoint.
Important add-target flag
| | | Notes and default behavior |
|---|
| | Tells the command-line interface which existing Fission project to update | If omitted, the current directory is used |
Supported target values
The current target values are:
| | |
|---|
| | Desktop target metadata and notes |
| | Desktop target metadata and notes |
| | Desktop target metadata and notes |
| | platforms/web/ with a helper script and README |
| | |
| | content/, platforms/static-site/, and static-site configuration |
| | platforms/android/ with packaging files, script, and README |
| | platforms/ios/ with simulator bundle files, script, and README |
| | terminal-shell entrypoint and package path |
Many projects start with the desktop scaffold and add web, android, or
ios when they need those hosts. The order does not matter; validate the same
shared app through each host you plan to ship.
Checking your machine with fission doctor
Run doctor when a platform does not build, when you are setting up a new workstation, or when you are preparing a continuous integration runner.
fission doctor web ios android --project-dir my-app
Doctor checks the tools that are visible from your current environment. For web, that includes the WebAssembly Rust target, wasm-pack, Node.js, and Chrome or Chromium. For Android, it checks the Android SDK, Native Development Kit, emulator tooling, and Rust Android target. For iOS, it checks Xcode simulator tooling and the Rust iOS simulator target. Use --strict when you want the command to fail the build if a required tool is missing.
Finding devices with fission devices
Run devices before you run an app on a machine with more than one possible host.
fission devices --project-dir my-app
The output includes stable ids that you can pass back into fission run --device <id>. Desktop uses desktop, web uses chrome, Android uses the adb serial for connected devices and running emulators, and iOS uses the simulator unique device identifier. If you are scripting the workflow, add --json and parse the same data without relying on table formatting.
Running and attaching with fission run
fission run is the default development command once a target exists.
fission run --project-dir my-app
fission run --target web --project-dir my-app
fission run --target android --device emulator-5554 --project-dir my-app
fission run --target ios --device <simulator-udid> --project-dir my-app
If only one runnable device matches the target, the command uses it. If several devices match and the terminal is interactive, the command asks you to choose one. In a script or continuous integration job, pass --device so the choice is explicit.
The command attaches by default because that is the most useful development behavior. Desktop stdout and stderr stay in the terminal. The web target keeps the local static server in the terminal. Android attaches to adb logcat for the launched process. iOS attaches to the simulator log stream for the launched executable.
Use --detach when you want the app or local server to keep running without owning the terminal.
fission run --target web --project-dir my-app --detach
fission logs --target web --project-dir my-app --follow
Web also accepts --host, --port, and --no-open. Mobile targets accept --headless for simulator or emulator runs where the host supports a background launch.
For a Web application whose behavior is selected by Cargo features, pass the
feature set explicitly. --features accepts comma-separated values and can be
repeated; --no-default-features maps directly to the corresponding
wasm-pack build option.
fission run --target web --project-dir my-app --features fixtures,diagnostics
fission run --target web --project-dir my-app --features fixtures --no-default-features
Fission does not infer Cargo features from application-specific environment
variables. This keeps the selected dependency graph visible in command history
and continuous integration configuration. These two flags currently require
--target web.
Building and testing targets
Use build when you want the target artifact but do not want to launch it.
fission build --target web --project-dir my-app --release
fission build --target android --project-dir my-app --release
Web builds and smoke tests accept the same --features and
--no-default-features overrides as fission run.
fission build --target web --project-dir my-app --features fixtures
fission test --target web --project-dir my-app --features fixtures
Use test when you want the generated platform smoke test.
fission test --target web --project-dir my-app
fission test --target ios --project-dir my-app --headless
fission test --target android --project-dir my-app --headless
The smoke tests are intentionally not a replacement for your application test suite. They prove that the generated platform host can build, launch, and expose the basic health path for that target. Your app should still have reducer tests, selector tests, widget tests, and product-specific integration tests.
What the generated host files are for
When the command-line interface creates a platforms/<target>/ folder, it is not creating a second app. It is creating the platform-facing wrapper that knows how to build, package, and launch your shared Fission runtime on that host.
That is why generated host folders usually contain two kinds of output:
First, they contain a README. That README is the target-specific checklist. It tells you what the host needs on the current platform, such as browser tooling, simulator prerequisites, or Android environment setup.
Second, they contain scripts or host files. These are the concrete launch paths for that target:
| | | Notes and default behavior |
|---|
platforms/web/run-browser.sh | | Builds the browser package and serves it locally | The current generated host uses wasm-pack for the WebAssembly build step |
platforms/android/run-emulator.sh | | Builds, packages, installs, and launches the app on an Android emulator | Reads the expected Android toolchain environment variables |
platforms/android/AndroidManifest.xml | | Declares the generated Android app package | Written by the command-line interface as part of the host scaffold |
| | Builds, installs, and launches the app on an iOS simulator | Uses the generated simulator host bundle |
Edit shared app modules in src/, then use fission run --target <target> to
exercise a host. Generated scripts remain available for CI and host debugging;
they are not a reason to duplicate reducers or screens inside platforms/.
A practical way to use the command-line interface without overthinking it
Keep project setup and host execution in the CLI, and keep product behaviour in
the app modules. That gives changes a clear home:
One common flow looks like this:
Open src/app.rs and start shaping your real app state, actions, reducers, and widgets.
Run fission doctor --project-dir my-app on a new machine.
Run fission devices --project-dir my-app to see where the app can run.
Run the host that is most convenient for your current work with fission run --target <target> --project-dir my-app.
When you need another platform host, run fission add-target ....
Before merging target work, run fission test --target <target> --project-dir my-app.
The smoke test checks the host; reducer and LiveTest coverage must check the
product. Run both when a change crosses that boundary.
Command reference
Use this section when you already understand the workflow and just need the exact command shape.
fission init
fission init <path> [--name <name>] [--app-id <id>] [--local-path <path>]
Creates a new Fission project scaffold in the given directory.
fission add-target
fission add-target <targets...> [--project-dir <dir>]
Adds one or more generated host targets to an existing Fission project.
fission add-capability
fission add-capability <capabilities...> [--project-dir <dir>]
Records host capabilities in fission.toml and updates generated platform config where Fission can do that safely. Current manifest values include barcode-scanner, biometric, bluetooth, camera, geolocation, haptics, microphone, nfc, notifications, passkeys, storage, volume-control, and wifi. storage also synchronizes the target-specific SQLite Cargo features. For Web it installs the JavaScript bridge, worker, and SQLite WASM assets. Fission rejects Web run, build, test, and package operations before compilation when the resolved SQLite feature and this capability declaration disagree.
The generated Web storage host uses SQLite's Web-Locks-backed OPFS VFS so the same application can access its database from multiple tabs. fission serve-web supplies the required cross-origin isolation headers during development; production hosts must preserve the header requirements documented in the storage and SQLite guide. Android changes are written to platforms/android/AndroidManifest.xml. iOS usage strings are written to platforms/ios/Info.plist, and entitlement-backed features such as NFC and Wi-Fi update platforms/ios/Entitlements.plist. See Platform capabilities before shipping because some features still need app-specific routes, usage text, app-store setup, or provider implementation. fission doctor
fission doctor [targets...] [--project-dir <dir>] [--strict]
Checks the local platform toolchains needed for the selected targets.
fission devices
fission devices [--project-dir <dir>] [--json]
Lists launchable macOS, Windows, Linux, Web, Android, and iOS devices known to the command-line interface.
fission run
fission run [--target <target>] [--device <id>] [--project-dir <dir>] [--release] [--variant <name>] [--detach]
Builds, launches, and attaches to the selected target. --variant selects matching and universal native modules for Linux, macOS, or Windows. Web also accepts --host, --port, and --no-open. Mobile targets also accept --headless.
Before a Web or static-site server reports ready, Fission checks that each required local asset matches the build output. The check allows up to 64 MiB per asset by default. For a larger debug WebAssembly bundle, set FISSION_SERVING_MAX_ASSET_BYTES to a positive byte count, such as 134217728 for 128 MiB.
fission build
fission build [--target <target>] [--project-dir <dir>] [--release] [--variant <name>]
Builds the selected target without launching it. --variant is available for Linux, macOS, and Windows native modules.
fission test
fission test [--target <target>] [--project-dir <dir>] [--variant <name>] [--headless]
Runs the generated platform smoke test for the selected target. On Linux, macOS, and Windows, --variant also limits native-module tests to universal and matching modules.
fission logs
fission logs [--target <target>] [--device <id>] [--project-dir <dir>] [--follow]
Attaches to logs for a selected running or detached target where the platform exposes a log stream.
fission site routes
fission site routes [--project-dir <dir>]
Lists the custom and content routes known to the static site target. Use it when you add Markdown files, change sidebars, or register custom widget routes and want to confirm the generated URL set before building the site.
fission site check
fission site check [--project-dir <dir>] [--release]
Renders every static site route and validates generated internal links without producing a deployable output directory. This is the fastest command to use in pull-request checks for documentation and reference changes.
fission site build
fission site build [--project-dir <dir>] [--release]
Builds the static site into the output directory configured by [site].out_dir in fission.toml. For the Fission documentation site, that means docs2/dist/site. The build writes HTML, site.css, copied assets, optional search files, optional code-highlighting hooks, sitemap.xml, and robots.txt when those features are enabled. fission site serve
fission site serve [--project-dir <dir>] [--host <host>] [--port <port>] [--release] [--no-open] [--startup-timeout-seconds <seconds>]
Builds the static site and serves the generated output with a local static file server. By default it binds to 127.0.0.1:8123 and opens the browser. Use --no-open for scripts or remote development environments. The build and local asset readiness deadline defaults to 900 seconds. Set FISSION_SERVING_STARTUP_TIMEOUT_SECONDS or pass --startup-timeout-seconds to change it; accepted values are 1–3600 seconds.
Readiness checks also limit each required asset to 64 MiB by default. Set FISSION_SERVING_MAX_ASSET_BYTES to a positive byte count when a required asset, such as a debug WebAssembly bundle, is larger.
fission server check
fission server check [--project-dir <dir>] [--release]
Builds route-local browser artifacts, runs the configured [server].entry, renders every declared server route, and fails if the route cannot produce HTML or a worker/island artifact cannot be generated.
fission server build
fission server build [--project-dir <dir>] [--release]
Builds the server app and the route-local browser artifacts declared by its workers and islands. Use this command when you want the same pre-deployment build that fission build --target ssr performs: first the worker/island WASM shims are generated and compiled, then the server binary is compiled.
fission server serve
fission server serve [--project-dir <dir>] [--host <host>] [--port <port>] [--release]
Builds route-local browser artifacts, then runs the server-rendered app locally. The default port is 8124.
fission server artifacts
fission server artifacts [--project-dir <dir>] [--release] [--no-compile]
Generates per-worker and per-island browser shim crates, then compiles them unless --no-compile is set.
fission package
fission package --target <target> --format <format> [--project-dir <dir>] [--release] [--variant <name>] [--json]
Packages an app or site into a release artifact manifest. Current relevant pairs include static-site/static, static-site/docker-image, ssr/docker-image, linux/run, macos/app, macos/pkg, windows/exe, windows/msi, windows/msix, android/apk, android/aab, and ios/ipa. For Linux, macOS, and Windows, --variant filters native modules before their platform build tools run, records the variant in the artifact manifest, and exposes it to custom package scripts as FISSION_VARIANT.
fission readiness
fission readiness package --target <target> --format <format> [--project-dir <dir>] [--release] [--json]
fission readiness distribute --provider <provider> [--artifact <manifest>] [--track <track>] [--project-dir <dir>] [--json]
fission readiness release --target <target> --format <format> --provider <provider> [--locale <locale>] [--project-dir <dir>] [--json]
Runs focused preflight checks for packages, distribution destinations, or full provider release readiness. readiness package --release uses the release profile when reporting package readiness.
fission publish
fission publish --provider <provider> [--target <target>] [--format <format>] [--track <track>] [--locale <locale>] [--app]
fission publish --provider <provider> --artifact <artifact-manifest.json> [--site <profile>] [--track <track>] [--dry-run] [--yes]
The first form is the guided local release cockpit and defaults target/format
from the provider. Without --artifact, fission publish shows preflight
checks, creates/uses ~/.fission/<app-name>/release.env, helps select or
generate signing/provider files, builds the artifact, runs a dry-run, and then
asks for explicit confirmation before publishing. Add --app to open the same
workflow as a native windowed Fission app with native file dialogs. --app is
interactive, so do not combine it with --guided, --dry-run, --yes,
--json, or --overwrite-remote.
The second form is direct artifact publishing for scripts and CI. With
--artifact, fission publish keeps the direct non-interactive behavior.
fission distribute publish ... is still available, but publish is the direct
command developers should reach for in normal release workflows.
fission distribute
fission distribute [setup|publish|status|promote|rollback] \
--provider <provider> \
[--artifact <artifact-manifest.json>] \
[--site <profile>] \
[--deploy <id>] \
[--track <track>] \
[--locale <locale>] \
[--dry-run] \
[--yes] \
[--project-dir <dir>] \
[--json]
Runs a provider lifecycle operation. publish is the default action when no
action is supplied. Use distribute when you need setup, status, promote, or
rollback operations, or when provider-specific release automation is clearer as
a lower-level command than publish.
Supported providers are app-store, github-pages, github-releases,
cloudflare-pages, docker-registry, dropbox, google-drive,
microsoft-store, netlify, onedrive, play-store, and s3.
fission release-config
fission release-config validate [--provider <provider>] [--project-dir <dir>] [--json]
fission release-config set <field> <value> [--project-dir <dir>] [--dry-run] [--yes] [--json]
fission release-config add-release --version <version> --build <n> [--from <release-id>] [--project-dir <dir>] [--dry-run] [--yes] [--json]
fission release-config bump-build [--target <target>] [--by <n>] [--project-dir <dir>] [--dry-run] [--yes] [--json]
fission release-config version-state --provider <provider> [--target <target>] [--format <format>] [--track <track>] [--artifact <manifest>] [--project-dir <dir>] [--json]
fission release-config import --provider <provider> [--locales <list>] [--project-dir <dir>] [--dry-run] [--yes] [--json]
fission release-config diff --provider <provider> [--project-dir <dir>] [--json]
fission release-config lock --provider <provider> [--locales <list>] [--project-dir <dir>] [--dry-run] [--yes] [--json]
fission release-config push --provider <provider> [--locales <list>] [--overwrite-remote] [--project-dir <dir>] [--dry-run] [--yes] [--json]
fission release-config skip-requirement --id <requirement-id> [--project-dir <dir>] [--dry-run] [--yes] [--json]
fission release-config edit [--provider <provider>] [--tui] [--project-dir <dir>]
fission release-config edit-file --release <release-id> --kind <kind> [--locale <locale>] [--project-dir <dir>]
fission release-config write-file --release <release-id> --kind <kind> [--locale <locale>] [--value <text>|--from-file <path>] [--project-dir <dir>] [--dry-run] [--yes] [--json]
Release config commands manage reviewable release state in
fission.toml and referenced sidecar files.
Use them to create releases, set scalar fields with the right TOML type, bump
build numbers, compare local state with provider state, and prevent stale store
metadata overwrites. version-state is the preflight command to run before store uploads. It checks
local version/build state against provider state where the provider API exposes
enough information. For example, Google Play reused versionCode values should
be caught before artifact upload.
fission release-content
fission release-content capture --target <target> --set <set> [--project-dir <dir>] [--json]
fission release-content render --provider <provider> [--project-dir <dir>] [--json]
fission release-content validate [--provider <provider>] [--project-dir <dir>] [--json]
fission release-content push --provider <provider> [--locales <list>] [--project-dir <dir>] [--dry-run] [--yes] [--json]
Release content commands prepare the human-facing material around a binary:
notes, screenshots, store listing text, previews, privacy answers, review files,
and provider assets. Capture uses configured scenarios and LiveTest-style
commands. Render turns raw captures into provider-ready assets. Validate checks
required and recommended content before publish.
fission beta
fission beta groups list --provider <provider> [--project-dir <dir>] [--json]
fission beta groups sync --provider <provider> [--from <path>] [--project-dir <dir>] [--dry-run] [--yes] [--json]
fission beta testers import --provider <provider> [--group <group>|--track <track>] --csv <path> [--project-dir <dir>] [--dry-run] [--yes] [--json]
fission beta testers export --provider <provider> [--group <group>|--track <track>] --output <path> [--project-dir <dir>] [--json]
fission beta distribute --provider <provider> --artifact <manifest> [--group <group>|--track <track>] [--project-dir <dir>] [--dry-run] [--yes] [--json]
Beta commands manage provider beta surfaces such as App Store groups and Google
Play tracks/tester configuration where support is implemented.
fission signing
fission signing status --target <target> [--project-dir <dir>] [--json]
fission signing sync --target <target> [--readonly] [--project-dir <dir>] [--json]
fission signing import --target <target> [--keystore <path>] [--alias <alias>] [--project-dir <dir>] [--dry-run] [--yes] [--json]
Signing commands inspect or import signing references. They do not store
passwords, private keys, service-account JSON, or machine-local secret paths in
the project manifest. Secret material should come from environment variables,
base64 CI secrets, platform key stores, provider tools, or local private
workspace files under ~/.fission/<app-name>/.
fission reviews
fission reviews list --provider <provider> [--since <duration>] [--project-dir <dir>] [--json]
fission reviews reply --provider <provider> --review <id> --message-file <path> [--project-dir <dir>] [--dry-run] [--yes] [--json]
Review commands are provider lifecycle helpers. Replies are explicit mutating
operations and should use --dry-run while drafting and --yes only after the
message file has been reviewed.
fission release-workflow
fission release-workflow list [--project-dir <dir>] [--json]
fission release-workflow run <name> [--project-dir <dir>] [--dry-run] [--yes] [--json]
Runs named release workflows from fission.toml.
Workflow commands must be Fission commands; arbitrary shell commands are
rejected before execution. Use workflows for CI recipes that should stay
reviewable in the project manifest. fission auth
fission auth login [provider] [--json]
fission auth setup [provider] [--json]
fission auth status [provider] [--json]
fission auth logout [provider] [--json]
fission auth import <provider> [--from <file-or-env>] [--json]
fission auth rotate [provider] [--json]
fission auth audit [--json]
Auth commands explain and inspect provider credential setup. They do not create a
hidden project vault. The project manifest may name environment variables, but
secret values and secret file paths stay outside source control.
Static site workflow
The site commands are for documentation, marketing, reference, blog, and other mostly-static routes. They are separate from fission run --target web, which launches an interactive web application. A site build starts from the same Fission widget model but resolves it ahead of time into crawlable HTML and CSS.
The Fission documentation site in docs2/ is the production example in this repository. It uses a custom home page widget, Markdown content routes, sidebars, a generated table of contents, light and dark themes, a custom footer, copied static assets, favicon support, generated search, optional code highlighting, route-filtered page elements, sitemap and robots output, JSON-LD structured data, and link validation. You can inspect the route set with:
fission site routes --project-dir docs2
Then check or build it with:
fission site check --project-dir docs2
fission site build --project-dir docs2
The generated output directory is build output, not source. Keep the site project, content, sidebars, assets, and Rust widgets in source control; publish the generated directory from continuous integration.
What the command-line interface does not do
The CLI can generate a host and check prerequisites. It cannot decide which state
belongs to a component, authorize an API request, or prove a layout usable on a
phone. Those remain application and qualification work. Generated files are a
starting point for that work, not evidence that it is finished.
If you are still learning the overall shape of a Fission app, read Quickstart and Runtime model next. If you are already working at the platform layer, continue to Targets.