git clone https://github.com/VidGuiCode/solidtime-cli.git
cd solidtime-cli
npm install
npm run buildFor development with Bun: bun src/cli.ts
| Script | Purpose |
|---|---|
npm run build |
Compile TypeScript to dist/ |
npm run dev |
Run from source with Bun |
npm test |
Run tests |
npm run typecheck |
Type-check without emitting |
npm run lint |
Lint source files |
npm run format |
Format source files |
npm run verify-pack |
Pack and smoke test |
- Commands go in
src/commands/— keep them thin - Core logic goes in
src/core/ - All commands follow the same pattern: load config, create client, call API, print output
- Every command supports
--jsonfor machine-readable output
- Update
CHANGELOG.md - Bump version in
package.json npm run build && npm testnpm packgh release create v{version} solidtime-cli-{version}.tgz