Skip to content

Latest commit

 

History

History
112 lines (87 loc) · 6.77 KB

File metadata and controls

112 lines (87 loc) · 6.77 KB

Faable

Your React, Node.js or Python apps, up to the cloud in seconds.

Faable CLI

@faable/faable is the command-line interface for the Faable platform. It covers Faable Deploy (ship and operate apps) and Faable Auth (manage an identity tenant: users, login-flow actions, OAuth clients and the audit log) from one binary.

Full reference: faable.com/docs/cli.

To install the latest version:

npm i -g @faable/faable

Commands

Group What it does Docs
faable login / whoami / logout Session management (device flow; CI uses OIDC, no login needed) Authentication
faable deploy Deploy the current directory, then status, logs, deployments, inspect, trigger, redeploy, cancel, open, list Deployment
faable deploy secrets Environment variables: list, set (KEY=VALUE or --env-file), rm Secrets
faable deploy domains Custom domains: add (prints the CNAME), list, check, rm Domains
faable deploy waf Edge rules: block (403), sink (404 without waking the app), list, rm Edge rules
faable auth users list (FaableQL filters), get (federated identities included), suspend, reinstate Users
faable auth actions Login-flow hooks: list, get --code, create, update, rm Actions
faable auth clients OAuth clients: list, get --secret, create, rm OAuth clients
faable auth logs Audit log (read-only): list with filters, get Audit logs

Every command has --help; read commands accept --json for output you can pipe to jq. The complete table is in the command reference.

Deploy

faable login
faable deploy                       # deploy the current directory
faable deploy status                # phase, URL and detected stack
faable deploy logs --build          # build output (--follow to tail)
faable deploy secrets set KEY=value
faable deploy domains add app.example.com

Faable Auth

faable auth manages a Faable Auth tenant and reuses your faable login session. Point it at your tenant with --auth-url https://<account>.auth.faable.link (or FAABLE_AUTH_URL).

faable auth users list --query email_verified:false --limit 50
faable auth users get user_abc123                   # includes GitHub/… identities
faable auth users suspend user_abc123 -r "abuse: crypto miner"

# Bulk: pipe ids from a filtered listing
faable auth users list --suspended --json | jq -r '.[].id' | faable auth users reinstate -y

faable auth actions create -n add-claims -t post-login -f ./claims.js
faable auth clients create -n my-app --callback https://app.example.com/callback
faable auth logs list --origin oauth --status failed --since 2026-08-01

See faable auth in the docs for every flag. The concepts behind each group are documented in Faable Auth: users & suspension, actions, login flows, OAuth clients and audit logs.

Documentation

The CLI is a thin client: what it deploys and what it manages is documented in the public docs, not here.

CLI

Faable Deploy

Faable Auth