✳ ODIN

CLI Reference

Complete reference for all ODIN command-line interface commands.

odin init
Initialize a new ODIN project

Creates a new ODIN project with the recommended structure, configuration files, and default prompts. Use --template to start from a pre-built template.

$ odin init [project-name] [--template <name>]
odin add
Add a new context or prompt template

Adds a new context file or prompt template to your project. Supports various formats including markdown, JSON, and YAML.

$ odin add <type> <name> [--format <format>]
odin build
Build and optimize your context files

Compiles and optimizes all context files, generating the final artifacts ready for deployment. Includes validation and token counting.

$ odin build [--output <dir>] [--minify]
odin validate
Validate your context configuration

Checks your context files for errors, validates token limits, and ensures all references are resolved correctly.

$ odin validate [--strict] [--fix]
odin serve
Start a local development server

Launches a local server for testing your prompts and contexts in real-time with hot reloading support.

$ odin serve [--port <number>] [--open]
odin deploy
Deploy your context to production

Deploys your built context files to your configured production environment. Supports multiple deployment targets.

$ odin deploy [--env <environment>] [--dry-run]

ODIN Assistant

Powered by Groq

Hi! I'm ODIN Assistant.

Ask me anything about the ODIN Framework.