OptionalaliasCLI command name used for help and argv scaffolding.
Defaults to 'getdotenv' when omitted.
OptionalbrandingOptional help header text. When omitted, brand() uses
"<alias> v<resolved-version>" if a version can be read.
OptionalcomposeOptional composer to wire the CLI (plugins/options). If not provided,
the shipped default wiring is applied. Any configureOutput/exitOverride
you call here override the defaults.
OptionaldescriptionRoot command description shown in help. Overrides the host package's
package.json description.
The host module's import.meta.url (required). The host root is the
nearest package.json directory above it. It supplies:
<hostRoot>/getdotenv.config.* (it replaces
get-dotenv's own; when the host root is the project root, the packaged
layer is skipped so the same file isn't applied twice);package.json version, unless version is given);package.json description, unless description
is given).OptionalrootHost root defaults. They rank above baseRootOptionDefaults and below
config rootOptionDefaults, the parent options bag and CLI flags; they
are merge-time defaults (and top-level -h labels), never Commander option
defaults.
Note: shipped CLI does not force loadProcess OFF; base defaults apply unless set here.
OptionalrootVisibility map to hide families/singles from help. When a key is false,
the corresponding option(s) are hidden (via hideHelp) after flags are
declared: they leave root help and every subcommand's inherited
<alias> options (anywhere) section. Config rootOptionVisibility ranks
above it, so a config true shows a flag this map hides.
OptionalversionVersion printed by -V, --version and shown in the default help header.
Overrides the host package's package.json version.
Create a get-dotenv CLI host with included plugins.
Options:
import.meta.url; its package root is the host root (packaged config, version, description)Usage: