CliConfig
Configuration for Effect CLI command execution.
Constructors
Defaults
Layers
Creates a layer that provides CLI configuration merged over defaults.
When to use
Use when wiring customized CLI behavior into an application layer.
See
makefor creating a configuration value directly
Signature
declare function layer(options?: Partial<Service>): Layer<never>;Other
Services
Context reference for configuration shared by CLI parsing, help generation, and command execution.
When to use
Use when you need to customize runner-wide CLI behavior, such as which built-in global flags are available.
Signature
declare class CliConfig extends ({}) {
constructor(_: never);
}
Creates CLI configuration by merging the provided options over
defaults.When to use
Use when you need a configuration value to provide directly through the
CliConfigcontext reference.See
layerfor providing configuration as a layer