CLI Reference

Complete command-line interface reference for the dxflow engine with detailed usage examples and options

dxflow provides a comprehensive command-line interface that adapts to your environment, supporting local execution, remote server management, and automatic instant engine spawning for seamless operations.

Two Execution Types: Commands run either locally on your machine or remotely on configured servers. Some commands also support automatic instant engine spawning for zero-setup operations.

Command Execution Types

Local Commands

Always Local

  • Configuration management
  • Engine lifecycle control
  • License operations
  • System information

Remote Commands

Server Infrastructure

  • Engine monitoring
  • Bridge management
  • Shell operations
  • Proxy control

Local Commands

Commands that always execute on your local machine for configuration and system management.

Local Execution: These commands run locally regardless of any remote configuration, managing your local dxflow installation and settings.

Available Commands

  • config get - Get configuration value
  • config set - Set configuration value
  • config unset - Remove configuration value

Common Operations

# Configuration management
dxflow config set connection-address "https://server.com"
dxflow config get connection-address

# Engine lifecycle
dxflow boot up --daemon
dxflow boot down

# License management
dxflow license info

Remote Commands

Commands that execute on configured remote dxflow servers for distributed infrastructure management.

Remote Execution: These commands require server configuration and always target the remote server when a connection is configured.

Available Commands

  • engine ping - Test connection to remote engine
  • engine stat - Display comprehensive engine statistics and resource usage
  • engine healthcheck - Check remote engine health status

Remote Setup

# Configure connection
dxflow config set connection-address "https://prod.server.com"
dxflow config set connection-key "/secure/prod-key.pem"

# Test connection
dxflow engine ping

# Manage remote resources
dxflow shell create production
dxflow bridge list
Advanced Configuration: See Remoting for detailed remote setup, authentication, profiles, and multi-environment management.

Instant Engine Support

Some commands support automatic instant engine spawning for local execution when no persistent engine is running.

Smart Execution: These commands adapt to your environment - remote when configured, local engine when available, or automatic instant engine spawning for local execution only.

How It Works

Instant engine commands follow this execution priority:

  1. Remote Configured? → Execute on remote server (using server's engine)
  2. Local Engine Running? → Use local persistent engine
  3. Otherwise → Spawn temporary instant engine locally
Important: Instant engines only work for local execution. Remote commands always use the server's running engine, never instant engines.

Commands with Instant Support

  • key list - List all registered authentication keys
  • key register - Register new authentication key
  • key unregister - Remove authentication key

Commands

CommandDescriptionHelp
configConfig controldxflow config --help
licenseLicense managementdxflow license --help
engineEngine managementdxflow engine --help
shellShell managementdxflow shell --help
workflowWorkflow managementdxflow workflow --help
objectObject managementdxflow object --help
proxyProxy managementdxflow proxy --help
bridgeBridge managementdxflow bridge --help

Global Options

FlagShorthandDescriptionTypeDefault
--config-profile-CSpecify the config profilestringdefault
--log-level-LSpecify the log levelstringdisabled
--no-color-NDisable color outputboolfalse

Command Capabilities Matrix

Complete command capabilities overview - Local execution, Remote server support, and Instant engine spawning.

CategoryCommandLocalRemoteInstant
Configconfig get--
Configconfig set--
Configconfig unset--
Licenselicense activate--
Licenselicense create--
Licenselicense info--
Engineengine info--
Engineengine token--
Engineengine update--
Engineboot up--
Engineboot down--
Enginekey generate--
Engineping-
Enginestat-
Enginehealthcheck-
Bridgebridge list-
Bridgebridge create-
Bridgebridge connect-
Bridgebridge disconnect-
Bridgebridge remove-
Bridgebridge prune-
Shellshell list-
Shellshell create-
Shellshell connect-
Shellshell remove-
Proxyproxy list-
Proxyproxy remove-
Proxyproxy prune-
Enginekey register
Enginekey unregister
Enginekey list
Objectfs list
Objectfs create
Objectfs delete
Objectfs rename
Objectfs upload
Objectfs download
Objectfs share
Objectfs zip
Objectfs unzip
Workflowcompose list
Workflowcompose create
Workflowcompose remove
Workflowcompose start
Workflowcompose stop
Workflowcompose kill
Workflowcompose pause
Workflowcompose unpause
Workflowcompose containers
Workflowcompose logs
Workflowcompose events
Workflowcompose execute