Discover Packages
github.com/drn/dots
cli
config
package
Version:
v0.0.0-...-f8f5229
Opens a new window with list of versions in this module.
Published: Apr 30, 2024
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.