index overview
Public surface for the effect-native CLI package. Everything is re-exported from ./cli so consumers can reuse the command tree, layers, or runtime helpers when embedding the CLI.
Added in v0.0.1
Table of contents
utils
CliLayer
CLI configuration shared by the binary and tests.
Signature
export declare const CliLayer: Layer<CliConfig, never, never>
Added in v0.0.1
MainLayer
Baseline layer stack required by the CLI.
Signature
export declare const MainLayer: Layer<CliConfig | NodeContext, never, never>
Added in v0.0.1
cli
Fully-configured CLI application ready to interpret process.argv.
Signature
export declare const cli: (
args: ReadonlyArray<string>
) => Effect<void, never | ValidationError, never | CliApp.Environment>
Added in v0.0.1
effectNativeCommand
Root command exposed by the CLI.
Signature
export declare const effectNativeCommand: Command<"effect-native", never, never, { readonly subcommand: Option<{}> }>
Added in v0.0.1
run
Convenience helper for executing the CLI with the default layer stack.
Signature
export declare const run: (args: ReadonlyArray<string>) => Effect<void, ValidationError, never>
Added in v0.0.1
version
Current effect-native package version.
Signature
export declare const version: string
Added in v0.0.1