cardano-cli-8.23.1.0: The Cardano command-line interface
Safe HaskellSafe-Inferred
LanguageHaskell2010

Cardano.CLI.Environment

Description

This module defines constants derived from the environment.

Synopsis

Documentation

getEnvNetworkIdIO (Maybe NetworkId) Source #

If the environment variable CARDANO_NODE_NETWORK_ID is set, then return the network id therein. Otherwise, return Nothing.

getEnvSocketPathIO (Maybe FilePath) Source #

If the environment variable CARDANO_NODE_SOCKET_PATH is set, then return the set value. Otherwise, return Nothing.