Local Development
CLI commands for local development of running Silverback bots and task workers.
silverback run
Run Silverback bot
silverback run [OPTIONS] [BOT]
Options
- -v, --verbosity <LVL>
One of ERROR, WARNING, SUCCESS, INFO, or DEBUG
- --network <network>
Override the default network and provider. (see ape networks list for options)
- Options:
:goerli:node | ethereum:goerli:node | :goerli | ethereum:goerli | :mainnet:node | ethereum:mainnet:node | :mainnet | ethereum:mainnet | :sepolia:node | ethereum:sepolia:node | :sepolia | ethereum:sepolia | :holesky:node | ethereum:holesky:node | :holesky | ethereum:holesky | ::node | :local:node | ethereum::node | ethereum:local:node | ::test | :local:test | ethereum::test | ethereum:local:test | :local | ethereum:local | ethereum
- --account <account>
- --runner <CLASS_REF>
An import str in format ‘<module>:<CustomRunner>’
- --recorder <CLASS_REF>
An import string in format ‘<module>:<CustomRecorder>’
- -x, --max-exceptions <max_exceptions>
Arguments
- BOT
Optional argument
silverback worker
Run Silverback task workers (advanced)
silverback worker [OPTIONS] [BOT]
Options
- -v, --verbosity <LVL>
One of ERROR, WARNING, SUCCESS, INFO, or DEBUG
- --network <network>
Override the default network and provider. (see ape networks list for options)
- Options:
:goerli:node | ethereum:goerli:node | :goerli | ethereum:goerli | :mainnet:node | ethereum:mainnet:node | :mainnet | ethereum:mainnet | :sepolia:node | ethereum:sepolia:node | :sepolia | ethereum:sepolia | :holesky:node | ethereum:holesky:node | :holesky | ethereum:holesky | ::node | :local:node | ethereum::node | ethereum:local:node | ::test | :local:test | ethereum::test | ethereum:local:test | :local | ethereum:local | ethereum
- --account <account>
- -w, --workers <workers>
- -x, --max-exceptions <max_exceptions>
- -s, --shutdown_timeout <shutdown_timeout>
Arguments
- BOT
Optional argument