cookbook/examples/node-cli
2026-04-30 01:03:02 +01:00
..
src feat: build sdk cookbook 2026-04-30 01:03:02 +01:00
README.md feat: build sdk cookbook 2026-04-30 01:03:02 +01:00

Node CLI Example

A small command-line wrapper around the cookbook recipes.

pnpm example:node-cli run "Say hello"
pnpm example:node-cli stream "Explain this branch"
pnpm example:node-cli models
pnpm example:node-cli session

In a real app, keep the recipe functions as library code and make the CLI only responsible for parsing arguments, output formatting, and exit codes.