CLI Commands

Explore the full suite of available commands below.

floz new <project_name> --template <template>

Scaffolds a completely valid, ready-to-run floz workspace based on a specified template architecture.

Available Templates:
  • minimal: Basic HTTP router layout.
  • api: Intermediate configuration for REST systems.
  • saas: Advanced setup including authentication, multi-tenant patterns, and Redis queueing.
floz generate scaffold <domain_name>

Automatically generates a new domain service namespace including mod.rs, controller.rs, and model.rs to build standardized full-stack endpoints inside an existing project.

floz db <subcommand>

Provides subcommands to control the Structural Fingerprinting Engine.

  • generate: Compiles code ast into the unified snapshot file inside the workspace database file (`v0.json`).
  • migrate: Deploys pending snapshots into the active database infrastructure bidirectionally inline!
  • rollback: Prompts destruction commands to securely revert standard deployments and table additions!