@grilling-sleek/cli
v0.2.0-rc.2
Published
CLI tool for grilling-sleek - Stress-test your plan before vibe coding
Maintainers
Readme
@grilling-sleek/cli
CLI tool for grilling-sleek - Stress-test your plan before vibe coding.
Features
- 🎯 Interactive Q&A: AI generates questions to stress-test your plan
- 🌐 Web UI: Review and answer questions in a sleek browser interface
- 🔄 Multi-round Iteration: Automatic multi-round Q&A until consensus
- 📊 JSON Schema Validation: Ensures Q&A data format correctness
- 🔌 API Integration: Seamless communication with grilling-sleek Hub
Installation
Install via npm (Recommended)
npm install -g @grilling-sleek/cliFor users experiencing network issues, use npm mirror for faster installation:
npm install -g @grilling-sleek/cli --registry https://registry.npmmirror.comUpdate:
npm update -g @grilling-sleek/cliBuild from Source
git clone https://github.com/jukanntenn/grill-me-sleek.git
cd grill-me-sleek/cli
pnpm install
pnpm buildCommands
Basic Commands
| Command | Description |
|---------|-------------|
| create | Create a new Q&A session |
| poll <id> | Wait for user to submit answers |
| push <id> | Push next round of questions |
| complete <id> | Complete session |
| cancel <id> | Cancel session |
| status <id> | Query session status |
Configuration Commands
grilling-sleek config set server http://localhost:3000 # Set server URL
grilling-sleek config get server # Get config value
grilling-sleek config list # List all configs
grilling-sleek config unset server # Remove configUsage Examples
Create Session
# Pass JSON via stdin
echo '{"name":"Architecture Review","questions":[...]}' | grilling-sleek create --json url
# Pass via file
grilling-sleek create --file questions.json --json urlPoll for Answers
# Wait for user to submit answers, timeout 600 seconds
grilling-sleek poll <session-id> --wait 600Push Next Round
# Push new questions
echo '{"name":"Tech Stack","questions":[...]}' | grilling-sleek push <session-id>CLI Options
| Option | Description |
|--------|-------------|
| --file -\|<path> | Read input from stdin or file |
| --inline <json> | Pass JSON string directly (small data only) |
| --json [fields] | Output in JSON format, optional field filter |
| --wait <sec> | Poll timeout in seconds (default: 600) |
| --round <n> | Poll specific round |
| --reason <enum> | Cancel reason |
| --detail <text> | Cancel details |
Environment Variables
| Variable | Description |
|----------|-------------|
| GRILLING_SLEEK_SERVER | Server URL (default: https://grillingsleek.online) |
| GRILLING_SLEEK_TIMEOUT | Request timeout in seconds |
| GRILLING_SLEEK_LONGPOLL_TIMEOUT | Long poll timeout in seconds |
Development
Local Development
# Install dependencies
pnpm install
# Run in dev mode
pnpm dev
# Build
pnpm build
# Production build
pnpm build:prod
# Run tests
pnpm test
# Lint code
pnpm lintLicense
MIT © jukanntenn
