CLI Package
Package: @hereby/cli | Commander.js CLI
Terminal client for authentication and lightweight data exploration against the Hereby API.
Entry Command
- Binary:
hereby - Default mode: interactive
Top-level Commands
auth
Implemented subcommands:
loginlogoutstatusextend
Behavior:
- Interactive prompts with Inquirer
- Session persistence through the auth/session utilities
- Optional default API URL storage
db
Implemented subcommands:
exploreemployeesteamsattendance
The interactive explorer currently offers:
- employees
- teams
- attendance
- payroll
- leave requests
- roles and permissions
Tooling
The CLI uses:
- Commander
- Inquirer
- Ora
- Chalk
cli-table3@hereby/sdk
Development
bash
pnpm --filter @hereby/cli dev
pnpm --filter @hereby/cli build
pnpm --filter @hereby/cli start
pnpm --filter @hereby/cli hereby --help