My starter kit for developing CLI apps using:
- Bun (and its built-in test runner)
- TypeScript
- Commander.js
- Consola
- figlet
- gradient-string
- terminal-link
- Biome
- Ultracite
- Knip
- simple-git-hooks
- devmoji
- Release It!
# Clone the repository
mkdir <new project name>
git clone https://github.com/deepfriedmind/bun-ts-cli-starter.git <new project name>
cd <new project name>
# Install dependencies
bun install
# Run the project entrypoint
bun start
# Build the project
bun run build
# Run tests
bun test
# Run tests with coverage
bun test --coverage
# Run all checks
bun run checkSee Debugging Bun with the VS Code extension
Render the logo in every available figlet font:
bun run demo:fontsRender a single font across every horizontal layout:
bun run demo:fonts -- --font "Standard"This is a demo-only script and is not part of the main CLI.
Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.
- TypeScript: All code must be written in TypeScript
- Testing: New features must include comprehensive tests
- Documentation: Update README.md for new features
- Code Style: Follow the existing code style and linting rules
This project is licensed under the MIT License - see the LICENSE file for details.
