@starktech/busybee-cli
v0.3.1
Published
A command-line interface for Busybee operations.
Readme
Busybee CLI
A command-line interface for Busybee operations.
Installation
Option 1: Install globally (recommended)
npm install -g @starktech/busybee-cli@latestOption 2: Install globally from local
# Clone the repository and navigate to the CLI directory
cd cli
# Run the installation script
./install.shOption 3: Development installation
# Install dependencies
npm install
# Build and watch for changes
npm run dev
# In another terminal, link for development
npm linkUsage
After installation, you can use the busybee command from anywhere:
# Show help
busybee --help
# Show version
busybee --version
# Configure the CLI
busybee config --endpoint <your-endpoint> --apiKey <your-api-key> --userId <your-user-id>
# List current configuration
busybee config --list
# Log an event
busybee log <project> <timeframe> <event>Development
# Install dependencies
npm install
# Build the project
npm run build
# Watch for changes during development
npm run dev
# Clean build artifacts
npm run cleanBuild Configuration
The CLI uses esbuild to compile TypeScript to JavaScript with the following features:
- ES modules format
- Node.js platform targeting
- Shebang preservation for executable scripts
- Source maps for debugging
- External dependencies (commander) not bundled
- Minification for production builds
