DPage CLI
A powerful command-line tool for managing your DPage projects, authenticating your developer environment, and indexing your codebase for AI-powered search and analysis.
🔐
Secure Auth
OAuth-based authentication with secure local token storage.
🔗
Project Linking
Associate your local directories with DPage projects seamlessly.
🔍
Code Indexing
Index your code for RAG (Retrieval-Augmented Generation) search.
🚀
Fast & Lightweight
Built with Node.js for cross-platform compatibility and speed.
Quick Start
Get up and running with the CLI in just a few steps:
1
Install the CLI
Install the package globally using npm or yarn.
Terminal
npm install -g @dpage-ai/dpage-cli2
Login
Authenticate with your DPage account.
Terminal
dpage login3
Link Project
Connect your current directory to a project.
Terminal
dpage link4
Index Code
Upload your codebase for AI analysis.
Terminal
dpage code indexCommon Workflows
First-Time Setup
Terminal
# Install globally
npm install -g @dpage-ai/dpage-cli
# Authenticate
dpage login
# Link your project
cd /path/to/your/project
dpage link
# Index your code
dpage code indexRegular Usage
Terminal
# Re-index after making changes
dpage code index
# Check indexing status
dpage code status
# View current identity
dpage whoami