Env
Manage CLI environments.
Available Commands
Create
Creates a new custom environment.
Usage
env create Example
// create new env
? @galileo-4> env create
? Env Name: example-env
? GQL Url: https://api.andromedaprotocol.io/graphql/testnet
? Schema Url: (https://api.andromedaprotocol.io/v1/schema)
// list the available envs now
? @galileo-4> env list
Name GQL Schema Url
devnet https://api.andromedaprotocol.io/graphql/dev https://api.andromedaprotocol.io/v1/schema
example-env https://api.andromedaprotocol.io/graphql/testnet https://api.andromedaprotocol.io/v1/schema
mainnet https://api.andromedaprotocol.io/graphql/mainnet https://api.andromedaprotocol.io/v1/schema
testnet https://api.andromedaprotocol.io/graphql/testnet https://api.andromedaprotocol.io/v1/schemaList
Lists the available environments.
Usage
Example
Remove
Deletes one of the environments.
You cannot remove the env that you are currently using.
Usage
Example
Rename
Rename an existing environment.
Usage
Example
Print
Prints details about the connected environment.
Usage
Example
Update
Update one of the configurations for the env.
Usage
Example
This will update the gql url used to the one specified.
Use
Select which env to use.
Usage
Example
You can run "env use" and you will get a list of the available environments to select from.
This will switch to use mainnet env.
Last updated
Was this helpful?