Conn2Flow
Docs navigation

Reference / CLI

CLI: Commands env

Reference for env commands registered in the c2f console.

Syntax from executable help; check the source before running commands with external effects.

env:set

Source: cli/src/Commands/EnvSetCommand.php.

Usage:
  c2f env:set development [--project=ID]    Set DEVELOPMENT_ENV=true
  c2f env:set production [--project=ID]     Set DEVELOPMENT_ENV=false
  c2f dev:on                 Shortcut for env:set development
  c2f dev:off                Shortcut for env:set production
  c2f env:toggle             Toggle current value

env:status

Source: cli/src/Commands/EnvStatusCommand.php.

Usage: c2f env:status [--project=ID]
Shows the current DEVELOPMENT_ENV flag, project target, and related configuration.

The Future is Hybrid: Human + AI.

Conn2Flow is the tool. If you need the Architect to design your company's strategy using this technology...

Hire Specialized Consulting