Config Command

The config command allows interaction with godyl’s config file. Use godyl config path to see whether the active file is local or global. See Configuration File Location for the lookup order and platform-specific global directories.

Syntax

godyl [flags] config [path|set|remove] [flags]

Aliases

  • cfg

Subcommands

Subcommand Description
path Print the path to the config file
set <key> <value> Set a value in the config file
remove [key]..., rm [key]... Remove entries in the config file

Note: The set command will lead to loss of order and newlines in the config file.

Examples

Display the active config file

godyl config path

Set a key in the config file

godyl config set dump.tools.embedded true

Keys follow the command hierarchy: dump.tools.embedded corresponds to godyl dump tools --embedded and GODYL_DUMP_TOOLS_EMBEDDED.

Remove a key from the config file

godyl config remove dump

Remove all entries in the config file

godyl config remove

Back to top

Copyright © 2026 idelchi. Distributed under the MIT License.