form_concierge_cli 0.1.1 copy "form_concierge_cli: ^0.1.1" to clipboard
form_concierge_cli: ^0.1.1 copied to clipboard

CLI for Form Concierge setup and tooling.

form_concierge_cli #

CLI for Form Concierge setup and local tooling.

Install #

dart pub global activate form_concierge_cli

The CLI uses files from a local Form Concierge checkout when available. Standalone installs download the matching versioned template from the project's GitHub Release, verify its SHA-256 checksum, and reuse a local cache.

Install from source #

cd cli
dart pub get

# From anywhere inside the monorepo:
dart run form_concierge_cli setup cloudflare --preflight-only

# Or activate the executable name `form_concierge`:
dart pub global activate --source path .
form_concierge doctor
form_concierge setup cloudflare

dart run form_concierge_cli works because the package defines a matching executable. After global activate, the command is also available as form_concierge.

Commands #

Command Description
form_concierge doctor Check dart / flutter / node / npm / wrangler and monorepo layout
form_concierge setup cloudflare Create/configure D1, R2, Worker, and Pages

setup cloudflare accepts flags such as --preflight-only, --seed-project-id, --worker-name, and others listed in form_concierge setup cloudflare --help.

Template options:

Option Description
--template-version Release version; defaults to the CLI version
--template-url Custom template archive URL
--template-sha256 Expected SHA-256 for a custom archive
--offline Require a checkout or cached template
--refresh-template Replace the cached template

Notes #

  • Local worker/wrangler.jsonc is gitignored and created from the example by setup. Downloaded templates are cached under the platform user cache.
  • Backend setup shells out to Node.js / Wrangler / Flutter / Jaspr; the Dart CLI owns orchestration. Optional D1 helpers under tool/cloudflare/*.mjs are used for local project list/seed.