v2
CLI Documentation
Overview

V2 CLI Documentation

The V2 CLI is a generic execution engine that works with any marketplace. It handles framework bootstrap, module execution, and path resolution.

Overview

The V2 CLI architecture:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  OrchestratorAgent  β”‚  Main coordinator
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
           β”‚
    β”Œβ”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”
    β”‚             β”‚
    β–Ό             β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚Bootstrapβ”‚  β”‚Module Executeβ”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Core Services

Execution Flow

  1. Load V2Genome from user
  2. Transform via marketplace adapter
  3. Generate paths for all path keys
  4. Bootstrap frameworks (Next.js, Expo, Hono)
  5. Execute modules in dependency order

Key Features

  • Metadata-Driven: No hardcoded patterns
  • Marketplace-Agnostic: Works with any marketplace
  • Framework Bootstrap: Frameworks initialize first
  • Path Resolution: Semantic path keys

Learn More: