CLI

The serront CLI ships as @forjio/serront-cli on npm and follows the same conventions as every Forjio product CLI.

Install

Requires Node.js 20+.

npm install -g @forjio/serront-cli
serront --version

Auth

Set an API key (create one at /dashboard/api-keys) — every command reads it:

export SERRONT_TOKEN=sk_live_xxx

serront auth login (device-flow sign-in via Huudis) exists but — honestly — the device flow isn't live yet; it prints a clear "not yet wired" notice instead of pretending. The SERRONT_TOKEN path above is the supported way to authenticate today.

Commands

Storefront

serront storefront get
serront storefront set --name "Studio Antara" --bio "Branding & design" \
  --whatsapp +628123456789 --publish
serront storefront set --hide-branding     # Starter+ — 403 UPGRADE_REQUIRED on Free

set is read-merge-write: only the flags you pass change.

Services

serront services list
serront services create --slug logo-design --name "Logo Design" --price 750000
serront services create --slug consult --name "Consultation" --price 200000 --hourly
serront services create --slug web --name "Website" \
  --package "Landing page=1500000" --package "Company profile=4000000"

Creating past your tier's service limit returns the same LIMIT_REACHED error as the API.

Orders

serront orders list --status requested
serront orders list --payment-status payment_claimed --q "budi"
serront orders show ord_01jx…
serront orders reply ord_01jx… --message "On it — draft by Friday."
serront orders reply ord_01jx… --message "Check the bank ref" --internal
serront orders confirm-payment ord_01jx…

Billing

serront billing show     # current tier + the tier table

See also

  • API reference — auth, envelope, endpoint map (the CLI is a thin wrapper over it).
  • Webhooks — push instead of poll.