Overview
Theapplad_cli package provides the command-line interface for managing Applad projects, deployments, and infrastructure. It includes the command runner and utilities used by the applad CLI tool.
Installation
The CLI is typically installed globally:Main Exports
ApplAdCommandRunner
The main command runner that orchestrates all CLI commands:Output Utilities
Formatted console output helpers:Config Finder
Locate configuration files in the project hierarchy:Version Info
Get CLI version information:Available Commands
The CLI provides the following commands:Project Management
applad init- Initialize a new Applad projectapplad status- Show project status and healthapplad config- Manage configuration files
Development
applad up- Start local development serverapplad down- Stop local development server
Database
applad db- Database management commandsapplad tables- List and manage tables
Authentication
applad auth login- Sign in to Applad accountapplad auth logout- Sign outapplad auth whoami- Show current user
Functions
applad functions- Manage serverless functionsapplad functions deploy- Deploy functionsapplad functions logs- View function logs
Storage
applad storage- Manage storage bucketsapplad storage upload- Upload filesapplad storage download- Download files
Deployments
applad deploy- Deploy to productionapplad orgs- Manage organizationsapplad projects- Manage projects
Other Services
applad messaging- Real-time messaging setupapplad workflows- Workflow automationapplad flags- Feature flags managementapplad secrets- Secret managementapplad env- Environment variablesapplad access- Access control and permissionsapplad api- API explorer and testing
Utilities
applad version- Show CLI versionapplad uninstall- Uninstall Appladapplad workspace- Workspace managementapplad instruct- AI-powered assistance
Building Custom Commands
You can extend the CLI with custom commands:Configuration
The CLI reads configuration from:applad.yaml- Instance configurationorg.yaml- Organization settingsproject.yaml- Project settings~/.applad/config.yaml- User preferences
Source Location
- Main library:
packages/applad_cli/lib/applad_cli.dart - CLI entry point:
packages/applad_cli/bin/applad.dart - Commands:
packages/applad_cli/lib/src/commands/