@jelou/cli). Function commands live under the
jelou functions … namespace (for example jelou functions deploy), while
authentication and profiles are shared with the rest of the platform.
Just getting started with the CLI? First check out the
Jelou CLI introduction, the
authentication and the
skills for AI editors pages. This page documents the
jelou functions group in detail.Installation
Authentication
Authentication is global to the CLI (not specific to functions). Quick summary; details in Authentication and profiles.Projects
jelou functions init
Initializes a Jelou Functions project.
Generates:
index.ts, jelou.json, deno.json, .env, .gitignore.
jelou functions dev
Starts the local development server with hot reload.
To exercise deferred runs locally, start with
JELOU_FN_DEFER_DEV=1.
jelou functions check
Validates the project before deploying. Needs no authentication and no network.
Deployment
jelou functions deploy
Deploys to production.
The first deploy automatically generates a runtime token.
jelou functions rollback [slug] [id]
Reverts to a previous deployment.
jelou functions deployments list [slug]
Lists the deployment history.
jelou functions deployments build [slug] [id]
Shows a deployment’s build log — it answers “why did the deploy I just ran
fail?”. With no arguments it uses the newest deployment of the current project.
This is the build log. For the function’s runtime logs use
jelou functions logs.Functions
jelou functions list
Lists all functions.
jelou functions info <slug>
Shows details for a function.
jelou functions create
Creates a remote function (no local code).
jelou functions delete <slug>
Deletes a function. Requires confirmation (-y to skip it in CI).
Secrets
Function-level secrets. For organization-wide secrets, usejelou secret — see Organization secrets.
jelou functions secrets list <slug>
jelou functions secrets set <slug>
New values take effect on the next deployment. Run
jelou functions deploy to apply them.jelou functions secrets delete <slug> <key>
Tokens
Runtime tokens: the bearers (X-Jelou-Token / Authorization: Bearer) that
external clients use to invoke a function’s routes. The deploy auto-generates
one the first time.
jelou functions tokens list [slug]
jelou functions tokens create [slug]
Mints a new runtime token for a function. The full token is shown once on
stdout — save it right away, since tokens list only shows a censored
prefix from then on.
jelou functions tokens revoke <slug> <token-id>
Revokes an existing runtime token.
Logs
jelou functions logs [slug]
Don’t confuse this with
jelou logs (without functions), which accesses a
bot’s production conversation logs — see
Workflows and testing.Cron
jelou functions cron list [slug]
Deferred runs
Inspect the deferred runs your function has booked. Bookings are created from code or via HTTP headers, not from the CLI.jelou functions defer list [slug]
scheduled, firing,
cancel_requested).
jelou functions defer get <id>
Shows the detail of one booking, including the last error if it failed.
Skills for AI editors
The oldjelou skill install was unified into jelou agent install, which
installs the platform-wide skills (including jelou-functions) into your AI
editors.
Global flags
Full reference of flags, modes, and exit codes in
CLI reference.