CLI Reference
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.
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.
Available Commands
config get- Get configuration valueconfig set- Set configuration valueconfig unset- Remove configuration value
engine info- Display local engine informationengine token- Generate authentication tokenengine update- Update engine to the latest versionkey generate- Generate RSA key pair for authenticationboot up- Start the engine with configured serversboot down- Gracefully shut down the running engine instance
license activate- Activate licenselicense create- Create licenselicense info- Display license information
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.
Available Commands
engine ping- Test connection to remote engineengine stat- Display comprehensive engine statistics and resource usageengine healthcheck- Check remote engine health status
bridge list- List all remote bridge instancesbridge create- Create new remote bridge instancebridge connect- Connect to remote bridge instancebridge disconnect- Disconnect from remote bridge instancebridge remove- Remove remote bridge instancebridge prune- Remove all remote bridge instances to free up resources
shell list- List all remote shell instancesshell create- Create new remote shell instanceshell connect- Connect to remote shell instanceshell remove- Remove remote shell instance
proxy list- List all remote proxy instancesproxy remove- Remove remote proxy instanceproxy prune- Remove all remote proxy instances to free up resources
engine key register- Register a new authentication keyengine key unregister- Remove an authentication keyengine key list- List all registered keys
object fs list- List files and directoriesobject fs create- Create files or directoriesobject fs delete- Delete files or directoriesobject fs rename- Rename/move files or directoriesobject fs upload- Upload files to remote storageobject fs download- Download files from remote storageobject fs share- Share files or directoriesobject fs zip- Compress files or directories into ZIP archivesobject fs unzip- Extract ZIP archives
workflow compose list- List all workflow compositionsworkflow compose create- Create a new workflow compositionworkflow compose remove- Remove a workflow compositionworkflow compose start- Start all services defined in the workflowworkflow compose stop- Gracefully stop all running containersworkflow compose kill- Immediately terminate workflow containersworkflow compose pause- Suspend all processes in workflow containersworkflow compose unpause- Resume execution of paused containersworkflow compose containers- List containers in the workflowworkflow compose logs- View logs from workflow containersworkflow compose events- Monitor workflow eventsworkflow compose execute- Execute commands in workflow containers
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
Instant Engine Support
Some commands support automatic instant engine spawning for local execution when no persistent engine is running.
How It Works
Instant engine commands follow this execution priority:
- Remote Configured? → Execute on remote server (using server's engine)
- Local Engine Running? → Use local persistent engine
- Otherwise → Spawn temporary instant engine locally
Commands with Instant Support
key list- List all registered authentication keyskey register- Register new authentication keykey unregister- Remove authentication key
object fs list- List files and directoriesobject fs create- Create files or directoriesobject fs delete- Delete files or directoriesobject fs rename- Rename/move files or directoriesobject fs upload- Upload files to remote storageobject fs download- Download files from remote storageobject fs share- Share files or directoriesobject fs zip- Compress files or directories into ZIP archivesobject fs unzip- Extract ZIP archives
workflow compose list- List all workflow compositionsworkflow compose create- Create new workflow compositionworkflow compose remove- Remove workflow compositionworkflow compose start- Start all services defined in the workflowworkflow compose stop- Gracefully stop all running containersworkflow compose kill- Immediately terminate workflow containersworkflow compose pause- Suspend all processes in workflow containersworkflow compose unpause- Resume execution of paused containersworkflow compose containers- List containers in the workflowworkflow compose logs- View logs from workflow containersworkflow compose events- Monitor workflow eventsworkflow compose execute- Execute commands in workflow containers
Commands
| Command | Description | Help |
|---|---|---|
| config | Config control | dxflow config --help |
| license | License management | dxflow license --help |
| engine | Engine management | dxflow engine --help |
| shell | Shell management | dxflow shell --help |
| workflow | Workflow management | dxflow workflow --help |
| object | Object management | dxflow object --help |
| proxy | Proxy management | dxflow proxy --help |
| bridge | Bridge management | dxflow bridge --help |
Global Options
| Flag | Shorthand | Description | Type | Default |
|---|---|---|---|---|
--config-profile | -C | Specify the config profile | string | default |
--log-level | -L | Specify the log level | string | disabled |
--no-color | -N | Disable color output | bool | false |
Command Capabilities Matrix
Complete command capabilities overview - Local execution, Remote server support, and Instant engine spawning.
| Category | Command | Local | Remote | Instant |
|---|---|---|---|---|
| Config | config get | ✓ | - | - |
| Config | config set | ✓ | - | - |
| Config | config unset | ✓ | - | - |
| License | license activate | ✓ | - | - |
| License | license create | ✓ | - | - |
| License | license info | ✓ | - | - |
| Engine | engine info | ✓ | - | - |
| Engine | engine token | ✓ | - | - |
| Engine | engine update | ✓ | - | - |
| Engine | boot up | ✓ | - | - |
| Engine | boot down | ✓ | - | - |
| Engine | key generate | ✓ | - | - |
| Engine | ping | ✓ | ✓ | - |
| Engine | stat | ✓ | ✓ | - |
| Engine | healthcheck | ✓ | ✓ | - |
| Bridge | bridge list | ✓ | ✓ | - |
| Bridge | bridge create | ✓ | ✓ | - |
| Bridge | bridge connect | ✓ | ✓ | - |
| Bridge | bridge disconnect | ✓ | ✓ | - |
| Bridge | bridge remove | ✓ | ✓ | - |
| Bridge | bridge prune | ✓ | ✓ | - |
| Shell | shell list | ✓ | ✓ | - |
| Shell | shell create | ✓ | ✓ | - |
| Shell | shell connect | ✓ | ✓ | - |
| Shell | shell remove | ✓ | ✓ | - |
| Proxy | proxy list | ✓ | ✓ | - |
| Proxy | proxy remove | ✓ | ✓ | - |
| Proxy | proxy prune | ✓ | ✓ | - |
| Engine | key register | ✓ | ✓ | ✓ |
| Engine | key unregister | ✓ | ✓ | ✓ |
| Engine | key list | ✓ | ✓ | ✓ |
| Object | fs list | ✓ | ✓ | ✓ |
| Object | fs create | ✓ | ✓ | ✓ |
| Object | fs delete | ✓ | ✓ | ✓ |
| Object | fs rename | ✓ | ✓ | ✓ |
| Object | fs upload | ✓ | ✓ | ✓ |
| Object | fs download | ✓ | ✓ | ✓ |
| Object | fs share | ✓ | ✓ | ✓ |
| Object | fs zip | ✓ | ✓ | ✓ |
| Object | fs unzip | ✓ | ✓ | ✓ |
| Workflow | compose list | ✓ | ✓ | ✓ |
| Workflow | compose create | ✓ | ✓ | ✓ |
| Workflow | compose remove | ✓ | ✓ | ✓ |
| Workflow | compose start | ✓ | ✓ | ✓ |
| Workflow | compose stop | ✓ | ✓ | ✓ |
| Workflow | compose kill | ✓ | ✓ | ✓ |
| Workflow | compose pause | ✓ | ✓ | ✓ |
| Workflow | compose unpause | ✓ | ✓ | ✓ |
| Workflow | compose containers | ✓ | ✓ | ✓ |
| Workflow | compose logs | ✓ | ✓ | ✓ |
| Workflow | compose events | ✓ | ✓ | ✓ |
| Workflow | compose execute | ✓ | ✓ | ✓ |
Terminal Access
The dxflow terminal provides a command-line interface to interact with the dxflow engine, allowing you to execute commands, manage workflows, and access system functionalities directly from your terminal.
Config
Configuration profile management with support for multiple environments, dynamic value updates, hierarchical settings inheritance, secure credential storage, and automatic validation of configuration parameters