Synopsis
Arguments
| Argument | Required | Description |
|---|---|---|
name | Yes | The name of the flow to activate |
What it does
Load and validate the flow config
Reads
~/.config/flow/<name>.json. If the flow does not exist, the command exits with code 1.If a directory is set in the config, Progflow verifies that the path exists on disk before continuing.Spawn the editor
If The process starts in the flow’s
editorCmd is configured, Progflow spawns it as a background process using:directory with any configured environment variables applied. The PID is tracked for later cleanup.Open URLs
Each URL in
urlList is opened using the platform’s default URL opener:- Linux:
xdg-open(falls back togio open,firefox,chromium, orbrave) - Termux:
termux-open-url(falls back to Androidam start)
Example
Partial activation
progflow on is non-fatal when individual components are missing:
- No
editorCmdset — only URLs are opened; no editor is spawned - No
urlListset — only the editor is spawned; no URLs are opened - Both absent — the lockfile is still written; the summary reads
started (no processes)
If the editor fails to spawn (for example, the binary is not on
$PATH), Progflow prints a warning and continues opening URLs rather than aborting.Environment variables
Any key/value pairs in the flow’senv map are injected into the editor process’s environment. They are not exported to your current shell session.
Error cases
| Condition | Exit code | Message |
|---|---|---|
Flow <name> does not exist | 2 | IO error: ~/.config/flow/<name>.json: No such file or directory |
Configured directory does not exist | 1 | Directory does not exist: <path> |
| Config file cannot be parsed | 2 | JSON error in ~/.config/flow/<name>.json: ... |
Exit codes
| Code | Meaning |
|---|---|
0 | Flow started successfully |
1 | User error — wrong name, missing directory |
2 | IO or JSON parse error |
See also
progflow off— stop a running flowprogflow new— create a new flow configprogflow edit— edit an existing flow config