Skip to main content

Overview

The context command manages your current working context (organization, project, environment). This allows you to run commands without specifying these parameters every time.

Commands

Set Context

Set your working context interactively:
qovery context set
Set specific organization:
qovery context set --organization "My Organization"
Set specific project:
qovery context set --project "My Project"
Set specific environment:
qovery context set --environment "production"

List Contexts

List all available contexts:
qovery context list

Current Context

Display current context:
qovery context current

Examples

Set Complete Context

# Interactive selection
qovery context set

# Select organization -> project -> environment
# Context saved for subsequent commands

Set Organization Only

qovery context set --organization "Acme Corp"

# Now you can run commands within this org
qovery project list

Check Current Context

qovery context current
# Output:
# Organization: Acme Corp
# Project: Backend Services
# Environment: production

Reset Context

qovery context set
# Select different org/project/environment

Options

FlagDescription
--organizationSet organization context
--projectSet project context
--environmentSet environment context
--helpShow help for context command