package
Version:
v0.2.7
Opens a new window with list of versions in this module.
Published: Dec 7, 2024
License: ISC
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Write writes the Basil configurations into a file in user's home directory.
If the config is empty, no config file will be written.
type Config struct {
GitHub GitHub `yaml:"github"`
}
Config is the model for all configurations.
Read reads the Basil configurations from a file in user's home directory.
If no config file is found, an empty config will be returned.
type GitHub struct {
AccessToken string `yaml:"access_token"`
}
GitHub has the configurations for GitHub.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.