Skip to content

Command-line API

brainhops exposes a subset of its functionality as subcommands of a single program.

brainhops <command> [options]

Positional arguments

Name Type Description
command {reslice,compose,convert} Subcommand to run: reslice, compose or convert.

Options

Flag Type Description Default
-h, --help Show the help message and exit.

Running brainhops with no command prints this help message and exits with a non-zero status. brainhops <command> --help prints the help message for that command alone.