Project Docs

Command Line Interface Guide

Master the command-line interface with step-by-step instructions, cheat sheets, and interactive demos.

Installation

1. Download CLI

Get the latest CLI release for your platform from the official repositories.

2. Verify Installation

Enter:

$ cli --version

Expected Output:

CLI version 2.5.0

Getting Started

Basic Command Structure


$ cli <command> [arguments] [options]

Commands:
  • • init
  • • create
  • • build
  • • deploy
Arguments:

Project name, options, variables

Options:
  • • --help
  • • -v / --version
  • • --config

Interactive CLI Examples

command-line
$ cli init my-project
Creating new project: my-project...
✓ Project directory created
✓ Default configuration written
✓ Dependency installation started...
✓ Project ready!

(my-project)$ build
Starting build process...
✓ Bundle created at dist/
✓ Build time: 1.2 seconds

(my-project)$ deploy --env production
Uploading to cloud service...
✓ Deployment initiated (ID: DEP-202509)

(my-project)$ 

Try It Yourself

Experiment with commands directly in your terminal. Tip: Use up/down arrows to view history.

Command Reference

Command Description Example
init Initialize a new project $ cli init my-app
build Build project files $ cli build
deploy Deploy application $ cli deploy --env=staging
list List available resources $ cli list --type=all