Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Dir is a jira-cli config directory. Dir = ".jira" // FileName is a jira-cli config file name. FileName = ".config" // FileExt is a jira-cli config file extension. FileExt = "yml" )
Variables ¶
View Source
var ( // ErrSkip is returned when a user skips the config generation. ErrSkip = fmt.Errorf("skipping config generation") // ErrUnexpectedResponseFormat is returned if the response data is in unexpected format. ErrUnexpectedResponseFormat = fmt.Errorf("unexpected response format") )
Functions ¶
Types ¶
type JiraCLIConfig ¶
type JiraCLIConfig struct {
// contains filtered or unexported fields
}
JiraCLIConfig is a Jira CLI config.
func NewJiraCLIConfig ¶
func NewJiraCLIConfig() *JiraCLIConfig
NewJiraCLIConfig creates a new Jira CLI config.
func (*JiraCLIConfig) Generate ¶
func (c *JiraCLIConfig) Generate() error
Generate generates the config file.
Click to show internal directories.
Click to hide internal directories.