Discover Packages
github.com/drn/dots
cli
config
package
Version:
v0.0.0-...-2e8d691
Opens a new window with list of versions in this module.
Published: Feb 16, 2025
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package config provides functionality to interact with and modify dots
configuration stored as an INI file located at ~/.dots/sys/config
All - Returns a mapping of all the config stored in ~/.dots/sys/config
Delete - Delete the config at the spcified config path.
Fetch - Return a pointer to the config at the specified path. If the input
is not set, run the optional onUnset input and prompt the user to specify
the given config. If the secure parameter is true, mask the input data.
Read - Return the config at the specified path.
Write - Write the value to the specified config path.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.