Running PAB
PAB is a framework for developing and running custom tasks in crypto blockchains.
usage: pab [-h] {init,run,list-strategies,create-keyfile} ...
Sub-commands:
init
Initialize PAB project in current directory.
pab init [-h] [-d DIRECTORY]
options
- -d, --directory
Initialize project in diferent directory.
run
Run PAB
pab run [-h] [-k KEYFILES] [-e ENVS] {tasks,strat} ...
options
- -k, --keyfiles
List of keyfiles separated by commas.
Default: “”
- -e, --envs
List of environments separated by commas.
Default: “”
Sub-commands:
tasks
Run and schedule all tasks from ‘tasks.json’.
pab run tasks [-h]
strat
Run a single strategy by name.
pab run strat [-h] --strategy STRATEGY
options
- --strategy
Name of the strategy to run
list-strategies
List strategies and parameters
pab list-strategies [-h] [-v] [-j]
options
- -v, --verbose
Print strategy parameters
Default: False
- -j, --json
Print strategies as JSON
Default: False
create-keyfile
Create keyfile. You’ll need your private key and a new password for the keyfile.
pab create-keyfile [-h] [-o OUTPUT]
options
- -o, --output
Output location for keyfile.
Default: “key.file”