SayNO CLI

A lightweight command-line tool for interacting with the SayNO API.

npm: sayno-cli (coming soon)
Status: The CLI is scaffolded and in active development. npm publication is pending. The source code below works today against the live API — clone and run locally.

Install

via npm (when published)
npm install -g sayno-cli
from source (available now)
git clone https://github.com/sayno/sayno-cli  # placeholder — use local cli/ directory
cd sayno-cli
npm install
npm link   # makes `sayno-cli` available globally

Usage

Check API health
sayno-cli health
# Output:
{ "status": "ok", "version": "1.0.0", "timestamp": "..." }
Join the waitlist
sayno-cli waitlist join --name "Alex Johnson"
sayno-cli waitlist join --name "Alex Johnson" --email "alex@example.com"
# Output:
✓ Added to waitlist (id: Xk9mN2pQrLvT8wYz)
Show help
sayno-cli --help
sayno-cli waitlist --help

Environment variables

The CLI targets the production API by default. Override with:

SAYNO_API_BASE=https://saynoapp.imbtm.workers.dev sayno-cli health

Use in scripts / agents

The CLI outputs JSON on success and exits with code 0. On error, it prints a JSON error to stderr and exits with a non-zero code — making it safe for scripting and agent tool use.

sayno-cli waitlist join --name "$NAME" --email "$EMAIL" --json \
  | jq '.id'

API reference

The CLI wraps the SayNO REST API. See the full reference at /developers or download the machine-readable spec:

curl https://saynoapp.imbtm.workers.dev/openapi.json