Advanced Configuration
Advanced configuration topics for AnyTask CLI.For basic setup, see the Quick Start Guide. This page covers advanced topics only.
Environment Variables
| Variable | Description | Default |
|---|---|---|
ANYT_API_KEY | Agent API key (required) | None |
Configuration Files
Workspace config (.anyt/anyt.json):
.anyt/active_task.json):
Workspace Switching
Switch between workspaces:- Show all accessible workspaces
- Let you select a new workspace
- Show all projects in that workspace
- Let you select a project
- Update
.anyt/anyt.json
Multi-Project Setup
Each directory can have its own workspace:Non-Interactive Init (CI/CD)
For automation and CI/CD:-y, --non-interactive: Skip interactive prompts--workspace-id <id>: Workspace ID--project-id <id>: Project ID--identifier <prefix>: Task identifier prefix (e.g., DEV, PROJ)--dir <path>: Directory to initialize
JSON Output
All commands support--json for machine-readable output:
See Also
- Quick Start - Basic setup guide
- Worker Authentication - Production security best practices
- CLI Reference - Command documentation