Skip to main content

celocli config

Configure CLI options which persist across commands

celocli config:get

Output network node configuration

USAGE
$ celocli config:get [-n <value>] [--globalHelp]

FLAGS
-n, --node=<value> URL of the node to run commands against or an alias
--globalHelp View all available global flags

DESCRIPTION
Output network node configuration

FLAG DESCRIPTIONS
-n, --node=<value> URL of the node to run commands against or an alias

Can be a full url like https://forno.celo.org or an alias. default:
http://localhost:8545
Alias options:
local, localhost => 'http://localhost:8545'
alfajores => Celo Alfajores Testnet,
mainnet, celo, forno => Celo Mainnet chain',

See code: src/commands/config/get.ts

celocli config:set

Configure running node information for propagating transactions to network

USAGE
$ celocli config:set [-n <value>] [--globalHelp]

FLAGS
-n, --node=<value> URL of the node to run commands against or an alias
--globalHelp View all available global flags

DESCRIPTION
Configure running node information for propagating transactions to network

EXAMPLES
set --node celo # alias for `forno`

set --node forno # alias for https://forno.celo.org

set --node baklava # alias for https://baklava-forno.celo-testnet.org

set --node alfajores # alias for https://alfajores-forno.celo-testnet.org

set --node localhost # alias for `local`

set --node local # alias for http://localhost:8545

set --node ws://localhost:2500

set --node <geth-location>/geth.ipc

FLAG DESCRIPTIONS
-n, --node=<value> URL of the node to run commands against or an alias

Can be a full url like https://forno.celo.org or an alias. default:
http://localhost:8545
Alias options:
local, localhost => 'http://localhost:8545'
alfajores => Celo Alfajores Testnet,
mainnet, celo, forno => Celo Mainnet chain',

See code: src/commands/config/set.ts