Command Line Interface

Foundry CLI

Control the AI Code Foundry from your terminal. Automate project generation, indexing, and deployment.

$npm install -g @codiner/foundry
Added 142 packages in 3s
$foundry init my-app
Creating workspace... Done.
$foundry paike --scan .
Mapping 12,450 AST nodes... Neural synch complete.

Core Commands

foundry init [name]

Initialize a new AI-native project from a template.

foundry paike --scan

Manually trigger a deep neural scan of your directory.

foundry login

Authenticates with your cloud providers for model access.

foundry deploy

Orchestrate one-click deployment to Vercel or AWS.

Advanced Workflows

foundry release --patch

Automate semantic versioning and changelog generation.

foundry env sync

Synchronize environment variables across your team securely.

foundry logs --tail

Real-time spectral analysis of your running PAIKE instance.

foundry doctor

Deep diagnostic scan of your local AST and vector stores.

Global Options

--local-only
Prevents any cloud-based API calls. High privacy mode.
--verbose
Shows real-time neural indexing progress and AST logs.