CLI Reference
Complete reference for AnyTask CLI commands and usage.Overview
AnyTask CLI provides a comprehensive set of commands for managing tasks, workspaces, and projects from the command line. This section covers all available commands, their options, and usage examples.Quick Navigation
- Commands Reference - Complete auto-generated command reference
- Usage Guide - Common workflows and examples
Command Categories
Initialization & Health
Initialize workspace and check backend connection:Task Management
Core task operations:Comments
Manage task comments:Visualization & Reporting
View tasks and generate reports:Worker System
Automated task execution:Workflow Artifacts & Attempts
Track workflow execution:Output Formats
Most commands support JSON output for scripting:Global Options
Available for all commands:Environment Variables
Override configuration with environment variables:ANYT_API_KEY- Agent API key (required)ANYT_CONFIG_DIR- Config directory (default: ~/.config/anyt)
Exit Codes
The CLI uses standard exit codes:0- Success1- General error2- Invalid command or arguments3- Authentication error4- Not found (task, workspace, etc.)5- Validation error
Next Steps
- Commands Reference - Complete command documentation
- Usage Guide - Learn common workflows
- Quick Start - Get started in 5 minutes
- Worker System - Automate task execution