Commands Overview¶
This page provides a comprehensive overview of all PipeOps CLI commands, their usage, and examples.
Command Structure¶
PipeOps CLI follows a hierarchical command structure:
Authentication Commands¶
Manage authentication and user details.
pipeops auth login¶
Authenticate with PipeOps using OAuth.
# Interactive login
pipeops auth login
# Login with specific provider
pipeops auth login --provider github
pipeops auth logout¶
Log out from PipeOps.
pipeops auth status¶
Check authentication status and user information.
pipeops auth me¶
Display current user information.
Project Commands¶
Manage PipeOps projects.
pipeops project list¶
List all projects.
pipeops project create¶
Create a new project.
# Create project with name
pipeops project create my-project
# Create with description
pipeops project create my-project --description "My awesome project"
pipeops project logs¶
View project logs.
# View recent logs
pipeops project logs my-project
# Follow logs in real-time
pipeops project logs my-project --follow
# View logs with timestamps
pipeops project logs my-project --timestamps
Deployment Commands¶
Manage deployments and pipelines.
pipeops deploy pipeline¶
Manage deployment pipelines.
# Create new pipeline
pipeops deploy pipeline create --name my-pipeline
# List pipelines
pipeops deploy pipeline list
# Get pipeline status
pipeops deploy pipeline status my-pipeline
pipeops deploy create¶
Create a new deployment.
# Deploy with image
pipeops deploy create --name my-app --image nginx:latest
# Deploy with environment variables
pipeops deploy create --name my-app --image my-app:latest --env KEY=value
pipeops deploy status¶
Check deployment status.
# Check specific deployment
pipeops deploy status my-app
# Check all deployments
pipeops deploy status --all
pipeops deploy logs¶
View deployment logs.
Server Commands¶
Manage servers and infrastructure.
pipeops server list¶
List all servers.
pipeops server deploy¶
Deploy to a server.
Agent Commands¶
Manage PipeOps agents for Kubernetes clusters.
pipeops agent install¶
Install PipeOps agent and Kubernetes cluster.
# Install with token (requires authentication first)
pipeops auth login
pipeops agent install
# Install with service account token
pipeops agent install your-pipeops-token-here
# Install using environment variables
export PIPEOPS_TOKEN="your-pipeops-token"
export CLUSTER_NAME="my-cluster"
pipeops agent install
# Install on existing cluster
pipeops agent install --existing-cluster --cluster-name="my-existing-cluster"
# Install without monitoring
pipeops agent install --no-monitoring
# Update agent
pipeops agent install --update
# Uninstall agent
pipeops agent install --uninstall
pipeops agent join¶
Join worker node to existing cluster.
# Join with server URL and token
pipeops agent join https://192.168.1.100:6443 abc123def456
# Join using environment variables
export PIPEOPS_SERVER_URL="https://192.168.1.100:6443"
export PIPEOPS_TOKEN="abc123def456"
pipeops agent join
pipeops agent info¶
Show cluster information and join commands.
Utility Commands¶
pipeops status¶
Show overall system status.
pipeops version¶
Show version information.
pipeops update¶
Update PipeOps CLI.
pipeops proxy¶
Manage proxy connections.
Global Flags¶
All commands support these global flags:
| Flag | Description | Example |
|---|---|---|
--help, -h | Show help for command | pipeops auth --help |
--version, -v | Show version information | pipeops --version |
--json | Output in JSON format | pipeops project list --json |
--verbose | Enable verbose output | pipeops status --verbose |
--quiet, -q | Suppress non-essential output | pipeops deploy create --quiet |
--config | Use custom config file | pipeops --config ~/.pipeops-custom.json |
Command Examples¶
Daily Workflow¶
# Morning routine
pipeops auth status
pipeops project list
pipeops server list
# Deploy updates
pipeops deploy create --name my-app --image my-app:v2.0
pipeops deploy status my-app
# Monitor
pipeops deploy logs my-app --follow
Development Workflow¶
# Create development environment
pipeops project create dev-project
pipeops deploy create --name dev-env --image my-app:dev
# Test locally
pipeops proxy start --port 8080
# Clean up
pipeops deploy delete dev-env
CI/CD Pipeline¶
# Authenticate
export PIPEOPS_TOKEN="your-token"
# Deploy
pipeops deploy create --name production --image my-app:$BUILD_NUMBER
# Verify
pipeops deploy status production
Getting Help¶
For detailed help on any command:
# General help
pipeops --help
# Command-specific help
pipeops auth --help
pipeops project create --help
# Subcommand help
pipeops deploy pipeline --help
Related Documentation¶
- Authentication Commands - Detailed auth command reference
- Project Commands - Project management guide
- Deployment Commands - Deployment operations
- Agent Commands - Agent installation and management