All apps/CookCLI

CookCLI

cookcli

Command line tools for working with Cooklang recipes.

Runs as cook|macOS, Linux|github.com

Command form

ai-draft · 1 task · 5 fields

Serve a folder of .cook recipes as a local web UI with `cook server`. Host binding, proxy and CORS options are left out except the origin list.

Opens the form; the finished command lands at your prompt, unrun
otty gui cookcli

cook server

Run the recipe server
Run the recipe serverExample values, fixed in this page — nothing here reaches a terminal
Basic
Recipe directory
directory
Port
integer
Open in browser
--open
TasksEach one presets the form for one job
Serve recipes
base_pathportopen
ParametersOnly these flags are editable in the form
Recipe directory
path · positional 0
Port
integer
--port-p
Open in browser
boolean
--open
URL prefix
Subpath behind a reverse proxy; must start with /.
string
--url-prefix
Allowed CORS origins
url · repeatable
--cors-origin
SourcesEvery flag above is checked against these
src
/// Root directory containing your recipe files #[arg(short = 'p', long, default_value_t = 9080)] // --port, -p /// Port number for the HTTP server /// Automatically open the web interface in your default browser #[arg(long, default_value_t = false)] open: bool, // --open /// Origin allowed to make cross-origin browser requests…
helpmain 2026-10

github.com

Before it fills your prompt, Otty checks the installed cook against its version. A form that does not match your version is not offered.