Cardano.CLI.Environment
Description
This module defines constants derived from the environment.
data EnvCli Source #
Constructors
Fields
envCliAnyShelleyBasedEra ∷ EnvCli → Maybe (EraInEon ShelleyBasedEra) Source #
envCliAnyShelleyToBabbageEra ∷ EnvCli → Maybe (EraInEon ShelleyToBabbageEra) Source #
getEnvCli ∷ IO EnvCli Source #
getEnvNetworkId ∷ IO (Maybe NetworkId) Source #
If the environment variable CARDANO_NODE_NETWORK_ID is set, then return the network id therein. Otherwise, return Nothing.
CARDANO_NODE_NETWORK_ID
Nothing
getEnvSocketPath ∷ IO (Maybe FilePath) Source #
If the environment variable CARDANO_NODE_SOCKET_PATH is set, then return the set value. Otherwise, return Nothing.
CARDANO_NODE_SOCKET_PATH