rok-cli-0.2.0 is not a library.
Visit the last successful build:
rok-cli-0.10.0
rok - Run One, Know All
An AI coding agent task runner that collapses multi-step operations into a single JSON invocation.
Installation
From Source
# Clone and build
# Install globally
Pre-built Binaries
Download from GitHub Releases.
Local Development Setup
# Add to PATH temporarily (Windows PowerShell)
# Or add permanently (Windows PowerShell)
)
)
# Verify
Usage
# JSON inline
# From file
# Pipe from stdin
|
# Pretty output
# Dry run
JSON Payload
Output
Template System (v3)
List Available Templates
Use a Template
# Use built-in template
|
# Use custom template
|
Create Custom Templates
Place templates in .rok/templates/<template-name>/ with a .rok-template.json schema file:
Template Filters
Templates support filters for transforming values:
{{ name | camelcase }} # helloWorld
{{ name | snakecase }} # hello_world
{{ name | kebabcase }} # hello-world
{{ name | pascalcase }} # HelloWorld
{{ name | pluralize }} # items
{{ name | singularize }} # item
{{ name | uppercase }} # HELLO
{{ name | lowercase }} # hello
{{ name | capitalize }} # Hello
Exit Codes
| Code | Meaning |
|---|---|
| 0 | All steps completed successfully |
| 1 | One or more steps failed |
| 2 | Invalid JSON payload |
| 3 | Startup error |
License
MIT