Documentation
¶
Index ¶
- type APIClient
- type APICommentRequest
- type APIIssueRequest
- type APIIssueResponse
- type CLIClient
- func (c *CLIClient) AddComment(issueNumber int, comment string) error
- func (c *CLIClient) CreateIssue(issue *Issue) error
- func (c *CLIClient) CreateLabel(name, description, color string) error
- func (c *CLIClient) GetRepository() (owner, name string)
- func (c *CLIClient) LabelExists(name string) (bool, error)
- func (c *CLIClient) UpdateIssueWithDependencies(issue *Issue, issueNumberMap map[string]int) error
- type Client
- type DependencyClient
- type Environment
- type Issue
- type LabelClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIClient ¶
type APIClient struct {
// contains filtered or unexported fields
}
func NewAPIClient ¶
func (*APIClient) AddComment ¶
func (*APIClient) CreateIssue ¶
func (*APIClient) GetRepository ¶
type APICommentRequest ¶
type APICommentRequest struct {
Body string `json:"body"`
}
type APIIssueRequest ¶
type APIIssueResponse ¶
type CLIClient ¶
type CLIClient struct {
// contains filtered or unexported fields
}
func NewCLIClient ¶
func (*CLIClient) AddComment ¶
AddComment adds a comment to an existing issue
func (*CLIClient) CreateIssue ¶
func (*CLIClient) CreateLabel ¶ added in v0.2.0
CreateLabel creates a new label in the repository
func (*CLIClient) GetRepository ¶
func (*CLIClient) LabelExists ¶ added in v0.2.0
LabelExists checks if a label exists in the repository
type DependencyClient ¶
type Environment ¶
type Environment struct {
HasGitHubCLI bool
IsAuthenticated bool
IsGitRepository bool
RepositoryOwner string
RepositoryName string
PreferredMethod string // "cli" or "api"
}
func DetectEnvironment ¶
func DetectEnvironment() (*Environment, error)
func (*Environment) String ¶
func (e *Environment) String() string
type Issue ¶
type Issue struct {
ID string // Unique ID from the input file
Title string
Body string
Labels []string
Assignees []string
DependsOn []string // IDs of issues this depends on
Blocks []string // IDs of issues this blocks
Related []string // IDs of related issues
Number int // GitHub issue number after creation
}
Click to show internal directories.
Click to hide internal directories.