Skip to content

Reference

This section contains complete reference documentation for grite.

Documentation

CLI Reference

Complete command-line interface documentation:

  • All commands and subcommands
  • Global flags
  • Exit codes
  • Examples

JSON Output

JSON output schemas for scripting:

  • Response envelope format
  • Error codes
  • Per-command output schemas
  • Common types

Configuration

Configuration file reference:

  • Repository configuration
  • Actor configuration
  • All configuration options

Environment Variables

Environment variable reference:

  • GRIT_HOME
  • RUST_LOG
  • Precedence rules

Quick Reference

Common Commands

Task Command
Initialize grite init
Create issue grite issue create --title "..." --body "..."
List issues grite issue list
Show issue grite issue show <id>
Close issue grite issue close <id>
Sync grite sync
Health check grite doctor

Global Flags

Flag Description
--json Output JSON
--quiet Suppress human output
--no-daemon Skip daemon
--actor <id> Use specific actor
--data-dir <path> Override data directory

Exit Codes

Code Meaning
0 Success
2 Invalid arguments
3 Not found
4 Conflict
5 Environment error
1 Other error