Skip to content

Configuration & Options

If you modify features, API, or usage, you MUST update the documentation immediately.

ectop can be configured via command-line arguments, environment variables, and interactive key bindings.

Command-Line Options

You can pass the following arguments when starting ectop from the terminal:

Option Description Default
--host <string> The hostname or IP address of the ecFlow server. localhost
--port <int> The port number the ecFlow server is listening on. 3141
--refresh <float> A finite interval greater than zero, in seconds. Updates the tree and server status; live log retrieval is controlled separately. 2.0

Example:

ectop --host my-ecflow-server --port 3500 --refresh 5.0

--host must contain a non-empty hostname or IP address. --port accepts TCP ports from 1 through 65535. --refresh accepts finite numbers greater than 0. Invalid CLI or environment values produce a setting-specific parser error.

Environment Variables

ectop respects the following environment variables, which can be used instead of CLI arguments:

Variable Description Default
ECF_HOST The hostname of the ecFlow server. localhost
ECF_PORT The port number of the ecFlow server. 3141
ECTOP_REFRESH The automatic refresh interval in seconds. 2.0
EDITOR Editor executable and optional arguments. Quoting groups arguments; shell expansion is not performed. vi

The command line overrides the matching environment variable. For example, EDITOR='code --wait' ectop starts Code with its wait option. A script source is atomically updated only after the editor exits successfully and the content changed. The .ecf source located through ECF_SCRIPT, ECF_FILES, or ECF_HOME must be accessible and writable on the machine running ectop. A failed editor leaves the source untouched, and the temporary file is removed even if editing is interrupted.

The --refresh interval also applies when live logs are off. Overlapping automatic tree/status refresh ticks are coalesced to one pending refresh. Live output polling still requires the Live toggle and the output tab.

Key Bindings

Once ectop is running, you can use the following keys to interact with the application:

Key Action Description
q Quit Exits the application immediately.
p Command Palette Opens a searchable list of all available commands.
r Refresh Tree Manually triggers a full synchronization of the suite tree from the server.
/ Search Opens the live search box to find nodes by name or path.
c Copy Path Copies the absolute ecFlow path of the selected node to the system clipboard.

Node Operations

Key Action Description
s Suspend Suspends (pauses) the selected node.
u Resume Resumes the selected suspended node.
k Kill Kills the currently running task.
x Execute Immediately runs the selected node (bypassing triggers).
f Force Complete Manually sets the selected node to the complete state.
a Force Aborted Manually sets the selected node to the aborted state.
R (Shift+R) Requeue Resets the selected node and its children to the queued state.

Inspection & Editing

Key Action Description
l Load Node Fetches the latest Logs, Script, and Job files for the selected node.
w Why? Opens the "Why?" inspector to analyze why a node is waiting or blocked.
v Variables Opens the Variable Tweaker to view, edit, or add node variables.
e Edit Script Opens the task script in your $EDITOR. Saving and exiting will update it on the server.
t Toggle Live Log Toggles periodic updates for the currently viewed output log.
Z (Shift+Z) Zombies Opens the Zombie Management Dashboard to view and resolve orphaned jobs.
Ctrl+F Search Content Allows searching for specific text within the currently displayed log or script.

Tree Filtering

Key Action Description
F (Shift+F) Cycle Filter Cycles through status filters: All, Aborted, Active, Queued, Submitted, Suspended.
H (Shift+H) Focus Mode Toggles hiding of nodes with a complete state to declutter the tree.

Server Control

Key Action Description
S (Shift+S) Start Server Starts server scheduling (RUNNING).
X (Shift+X) Halt Server Halts server scheduling (HALT).
b Begin Suite Begins playback of the selected suite.
L (Shift+L) Load Defs Opens a modal to load an ecFlow definition file from disk.