Documentation
¶
Index ¶
- func CLIMenu(config *Config) *cobra.Command
- func CheckGitAndHooksDir() error
- func ExecuteCommand(command string, args ...string) (string, error)
- func ExecuteGitCommand(args ...string) (string, error)
- func GetCurrentBranchName() (string, error)
- func GetGlobalBinPath() (string, error)
- func SetGitHookScript(config *Config) error
- type Config
- type JiraManager
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckGitAndHooksDir ¶
func CheckGitAndHooksDir() error
func ExecuteGitCommand ¶
Function to execute git commands
func GetCurrentBranchName ¶
func GetGlobalBinPath ¶
func SetGitHookScript ¶
Types ¶
type Config ¶
type JiraManager ¶
type JiraManager struct {
Config *Config
}
JiraManager handles operations related to JIRA issues.
func NewJiraManager ¶
func NewJiraManager(config *Config) *JiraManager
NewJiraManager creates a new instance of JiraManager with the provided configuration.
func (*JiraManager) ExtractIssueKeyFromBranchName ¶
func (jm *JiraManager) ExtractIssueKeyFromBranchName(branchName string) (string, error)
func (*JiraManager) ValidateJiraKey ¶
func (jm *JiraManager) ValidateJiraKey( input string, ) (string, error)
Click to show internal directories.
Click to hide internal directories.