@karmaniverous/get-dotenv
    Preparing search index...

    Type Alias CommandWithOptions<TOptions>

    CommandWithOptions: Command & {
        getDotenvCliOptions?: TOptions;
        opts(): Partial<TOptions>;
    }

    Commander command augmented with a typed opts() and an options bag for nested subcommands to inherit.

    Type Parameters

    • TOptions

    Type Declaration

    • OptionalgetDotenvCliOptions?: TOptions

      Merged root options bag persisted on the root host and propagated to subcommands for nested flows. This allows child actions to access the unified defaults and flags for the current invocation.

    • opts: function