Skip to main content

@kurotako/cli

The tako command-line interface for kurotako, plus the programmatic entry point (runCli, reporters, error helpers) for embedding the CLI in a script.

Most projects install kurotako instead — it ships this same binary together with defineConfig. Install @kurotako/cli directly only for the programmatic API.

Install​

npm install -D @kurotako/cli
# bun add -d @kurotako/cli

Needs Node.js >= 24; runs unmodified on Node and Bun.

Usage​

tako init [--config <path>] [--force] [--monorepo | --no-monorepo]
tako init --package-base [--packages-dir <dir>]
tako generate [--config <path>] [--watch] [--dry-run]
tako validate [--config <path>]
tako check [--config <path>]
tako --version
import { runCli } from '@kurotako/cli';

await runCli(['generate', '--dry-run']);

Documentation​

CLI reference: https://kurotako.marmotz.dev/docs/reference/cli.

0.x: the public API may change between minor versions.

License​

MIT

Classes​

Interfaces​

Type Aliases​

Functions​