@toolbox-ts/cli-kit
v0.1.4
Published
CLI Kit utilities and base command for oclif.
Maintainers
Readme
@toolbox-ts/cli-kit
📦 Installation
npm install @toolbox-ts/cli-kit
# or
pnpm add @toolbox-ts/cli-kit
# or
yarn add @toolbox-ts/cli-kitBaseCommand
BaseCommand is an abstract @oclif/core Command subclass that standardizes CLI command execution using execa.
import { BaseCommand } from '@toolbox-ts/cli-kit';
export default class CustomCmd extends BaseCommand {
...(your command logic)
}Reporters
Reporters provide a consistent way to format domain-specific data for CLI and CI/CD output.
import { reporters } from '@toolbox-ts/cli-kit';
export class Reporter<T = Message> implements reporters.Reporter<T[]> {
...(method implementations)
}Utils
Utils provide low-level helpers for working with shell processes, flags, and command input. They power higher-level abstractions like BaseCommand and Reporters.
⚖️ License
MIT – © 2025 Nolan Gajdascz GitHub | NPM
