package
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: May 11, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Find returns the pdcli configuration filepath.
If the config filepath doesn't exist, the desired config filepath string is created and returned.
Save saves the given configuration data to the config file.
It creates a new directory to store the config file.
type Config struct {
ApiKey string `json:"api_key,omitempty"`
AccessToken string `json:"gh_token,omitempty"`
TeamID string `json:"team_id,omitempty"`
Team string `json:"team,omitempty"`
Terminal string `json:"terminal,omitempty"`
}
Configuration struct to store user configuration.
Load loads the configuration file and parses it.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.