Documentation
¶
Overview ¶
Package config implements configuration management commands for wherehouse.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCheckCmd ¶ added in v0.2.0
NewCheckCmd returns the config check subcommand, which validates configuration files for errors.
func NewConfigCmd ¶ added in v0.2.0
NewConfigCmd returns the config command, initializing it if necessary.
func NewInitCmd ¶ added in v0.2.0
NewInitCmd returns the config init subcommand, which creates a new configuration file with default values.
func NewPathCmd ¶ added in v0.2.0
NewPathCmd returns the config path subcommand, which shows the locations of configuration files.
func SetFilesystem ¶
SetFilesystem allows injecting a filesystem implementation for testing. This enables unit tests to use in-memory filesystems without touching the real filesystem.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.