CLI Reference#
Complete reference for the bfabric-app-runner command-line interface.
Global Options#
Every command that talks to B-Fabric also accepts these options (omitted from the per-command listings below):
Option |
Description |
|---|---|
|
Override the config environment; falls back to |
|
Override the config file path (default |
The outputs commands additionally accept --reuse-default-resource / --no-reuse-default-resource, which
controls whether the workunit’s auto-created default resource is reused.
run#
run workunit#
Run a workunit end-to-end (dispatch, process all chunks, register outputs).
bfabric-app-runner run workunit <app_definition> <scratch_root> <workunit_ref>
Argument |
Description |
|---|---|
|
Path to the app.yml specification file |
|
Root directory for scratch/work files |
|
Workunit reference (ID or URI) |
prepare#
prepare workunit#
Prepare a workunit for execution (resolve inputs, set up work directory).
bfabric-app-runner prepare workunit <app_spec> <work_dir> <workunit_ref> [options]
Argument |
Description |
|---|---|
|
Path to the app.yml specification file |
|
Working directory for the workunit |
|
Workunit reference (ID or URI) |
Option |
Description |
|---|---|
|
SSH user for remote file access |
|
Override the storage location |
|
Force a specific application version |
|
Prepare in read-only mode |
|
Use an external runner for execution |
action#
Commands for running individual workflow phases. Each reads its configuration — the work directory, app
reference, and workunit reference — from the app_env.yml file that prepare workunit writes into the
working directory. Pass it with --config, or supply the parameters explicitly with --work-dir,
--app-ref, and --workunit-ref.
action run-all#
Run all stages of a dispatched app.
bfabric-app-runner action run-all --config app_env.yml
action dispatch#
Dispatch a workunit definition (create chunk directories).
bfabric-app-runner action dispatch --config app_env.yml
action inputs#
Prepare input files for a chunk.
bfabric-app-runner action inputs --config app_env.yml
action process#
Process a chunk.
bfabric-app-runner action process --config app_env.yml
action outputs#
Register output files for a chunk.
bfabric-app-runner action outputs --config app_env.yml
inputs#
Commands for managing input files.
inputs prepare#
Download and prepare input files into the target folder.
bfabric-app-runner inputs prepare <inputs_yaml> [target_folder] [options]
Argument |
Description |
|---|---|
|
Path to the inputs YAML specification file |
|
Target directory (optional, defaults to cwd) |
Option |
Description |
|---|---|
|
SSH user for remote file access |
|
Only prepare inputs matching this filename pattern |
inputs list#
List all defined inputs and their status.
bfabric-app-runner inputs list <inputs_yaml> [target_folder] [options]
Argument |
Description |
|---|---|
|
Path to the inputs YAML specification file |
|
Target directory (optional, defaults to cwd) |
Option |
Description |
|---|---|
|
Also check whether each input exists on disk |
inputs check#
Verify that all expected input files are present.
bfabric-app-runner inputs check <inputs_yaml> [target_folder]
Argument |
Description |
|---|---|
|
Path to the inputs YAML specification file |
|
Target directory (optional, defaults to cwd) |
inputs clean#
Remove prepared input files from the target folder.
bfabric-app-runner inputs clean <inputs_yaml> [target_folder] [options]
Argument |
Description |
|---|---|
|
Path to the inputs YAML specification file |
|
Target directory (optional, defaults to cwd) |
Option |
Description |
|---|---|
|
Only clean inputs matching this filename pattern |
outputs#
Commands for registering output files in B-Fabric.
outputs register#
Register all outputs defined in a YAML file.
bfabric-app-runner outputs register <outputs_yaml> <workunit_ref> [options]
Argument |
Description |
|---|---|
|
Path to the outputs YAML specification file |
|
Workunit reference (ID or URI) |
Option |
Description |
|---|---|
|
SSH user for remote file transfers |
|
Override the storage location |
outputs register-single-file#
Register a single output file without an outputs YAML.
bfabric-app-runner outputs register-single-file <local_path> [options]
Argument |
Description |
|---|---|
|
Path to the local file to register |
Option |
Description |
|---|---|
|
Workunit reference (ID or URI) |
|
Filename in B-Fabric storage |
|
Directory path within storage |
|
Update behavior: |
|
SSH user for remote transfers |
|
Override the storage location |
validate#
Commands for validating specification files.
validate app-spec#
Validate an app specification file.
bfabric-app-runner validate app-spec <app_yaml> [options]
Argument |
Description |
|---|---|
|
Path to the app.yml file |
Option |
Description |
|---|---|
|
Application ID for template variable resolution |
|
Application name for template variable resolution |
validate app-spec-template#
Validate an app specification template (before variable resolution).
bfabric-app-runner validate app-spec-template <yaml_file>
Argument |
Description |
|---|---|
|
Path to the app spec template file |
validate inputs-spec#
Validate an inputs specification file.
bfabric-app-runner validate inputs-spec <yaml_file>
Argument |
Description |
|---|---|
|
Path to the inputs YAML file |
validate outputs-spec#
Validate an outputs specification file.
bfabric-app-runner validate outputs-spec <yaml_file>
Argument |
Description |
|---|---|
|
Path to the outputs YAML file |