all templates
CLI & Tooling

CLI Toolkit

Ship a polished command-line tool: args, config, colors, and single-binary builds.

The difference between a script and a tool: a subcommand scaffold with typed flags, config-file and env precedence, pretty output with spinners, and a release workflow that compiles a single binary per platform.

What's inside

  • Subcommand scaffold with typed flags
  • Config file + env var precedence
  • Pretty output, spinners and progress bars
  • Self-update command
  • bun build --compile single binaries
  • Tagged-release publish workflow

Quickstart

$ git clone git@github.com:devai-io/cli-kit.git my-cli$ cd my-cli && bun install$ bun run dev -- --help

from production

How the internal devai fleet tools are built and shipped.