Npx CLI

Build and publish npx-executable CLI tools using Bun as the primary toolchain with npm-compatible output. Use when the user wants to create a new CLI tool, set up a command-line package for npx execution, configure argument parsing and terminal output, or publish a CLI to npm. Covers scaffolding, citty arg parsing, sub-commands, terminal UX, strict TypeScript, Biome + ESLint linting, Vitest testing, Bunup bundling, and publishing workflows. Keywords: npx, cli, command-line, binary, bin, tool, bun, citty, commander, terminal, publish, typescript, biome, vitest.

bouclem Updated 7 repo stars

File contents

bouclem/skills/tree/main/SKILLS/LANGUAGES/JAVASCRIPT/001-npx-cli commit d47b6b741d

Frequently asked questions

npx skillmds@latest add bouclem/npx-cli