run

run

NAME - Path or script name (from scripts/ folder)

Run scripts from the scripts folder. A script must either define a main() method, or define an import named cli that is a click.Command or click.Group object. click.Group and click.Command objects will be provided with additional context, which will be injected dynamically during script execution. The dynamically injected objects are the exports from the ape top-level package (similar to how the console works)

run [OPTIONS] [SCRIPTS]...

Options

-i, --interactive

Drop into interactive console session after running

-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)

Default

ethereum

Options

ethereum | :mainnet | ethereum:mainnet | :mainnet:geth | ethereum:mainnet:geth | :mainnet:infura | ethereum:mainnet:infura | :ropsten | ethereum:ropsten | :ropsten:geth | ethereum:ropsten:geth | :ropsten:infura | ethereum:ropsten:infura | :kovan | ethereum:kovan | :kovan:geth | ethereum:kovan:geth | :kovan:infura | ethereum:kovan:infura | :rinkeby | ethereum:rinkeby | :rinkeby:geth | ethereum:rinkeby:geth | :rinkeby:infura | ethereum:rinkeby:infura | :goerli | ethereum:goerli | :goerli:geth | ethereum:goerli:geth | :goerli:infura | ethereum:goerli:infura | :development | ethereum:development | ::geth | ethereum:development:geth | ::test | ethereum:development:test | :mainnet-fork | ethereum:mainnet-fork

Arguments

SCRIPTS

Optional argument(s)