CLI

Command Reference

Complete reference for all commands and flags available in the DPage CLI.

Global Flags

FlagDescription
--helpShow help for any command
--versionShow current CLI version
--tokenManually provide an auth token
--jsonOutput results in JSON format

Authentication

dpage login

Authenticate the CLI with your DPage account via OAuth.

dpage logout

Sign out and remove the local access token.

dpage whoami

Display information about the currently logged-in user.

Project Management

dpage link

Interactively link the current directory to a project.

OptionDescription
--yes, -ySkip interactive prompts

dpage unlink

Remove the project link from the current directory.

dpage organizations list

Alias: orgs ls. List organizations you belong to.

dpage projects list

Alias: projects ls. List projects you have access to.

OptionDescription
--organization-id, -oFilter by organization ID

Code Indexing

dpage code index

Scan and upload the codebase for AI analysis.

OptionDescription
--dir, -dDirectory to index (default: current)
--exclude, -ePatterns to exclude from scanning
--organization-id, -oExplicit organization ID
--project-id, -pExplicit project ID

dpage code status

Show indexing statistics for the current project.

Templates

Note: Template management commands are currently in preview.

dpage templates list

List all dynamic component templates in a project.

dpage templates create

Create a new template from a local file.

dpage templates update

Update an existing template with new code.

dpage templates delete

Remove a template from the DPage platform.