Documentation ¶
Index ¶
- Constants
- func ActivityList() error
- func Cli(args []string) int
- func CommentAdd(issueKey string, content string) error
- func IssueAdd(path string) error
- func IssueDelete(issueKey string) error
- func IssueInfo(issueKey string) error
- func IssueList() error
- func IssueUpdate(optFile string, optStatus string, optAssignee string, optComment string, ...) error
- func NotifyList() error
- func ProjectInfo(projectKey string) error
- func ProjectList() error
- func SpaceUsage() error
- func UserList() error
- type IssueAddRequest
- type IssueUpdateRequest
Constants ¶
View Source
const ( ExitCodeOK int = iota // 0 ExitCodeError // 1 )
ExitCodeOK, ExitCodeError is return code.
View Source
const Version = "0.0.1"
Version is ...
Variables ¶
This section is empty.
Functions ¶
func CommentAdd ¶
CommentAdd function comment add subcommand.
func IssueDelete ¶
IssueDelete function issue delete subcommand.
func IssueUpdate ¶
func IssueUpdate(optFile string, optStatus string, optAssignee string, optComment string, issueKey string) error
IssueUpdate function issue update subcommand.
func ProjectInfo ¶
ProjectInfo function executes project info subcommand.
Types ¶
type IssueAddRequest ¶
type IssueAddRequest struct { ProjectKey string `toml:"projectKey"` Summary string `toml:"summary"` Description string `toml:"description"` Assignee string `toml:"asignee"` StartDate string `toml:"startDate"` DueDate string `toml:"dueDate"` EstimatedHours string `toml:"estimatedHours"` IssueType string `toml:"issueType"` Priority string `toml:"priority"` }
IssueAddRequest structure for TOML file.
type IssueUpdateRequest ¶
type IssueUpdateRequest struct { ProjectKey string `toml:"projectKey"` Summary string `toml:"summary"` Description string `toml:"description"` Status string `toml:"status"` Assignee string `toml:"asignee"` StartDate string `toml:"startDate"` DueDate string `toml:"dueDate"` EstimatedHours string `toml:"estimatedHours"` IssueType string `toml:"issueType"` Priority string `toml:"priority"` Comment string `toml:"comment"` }
IssueUpdateRequest structure for TOML file.
Click to show internal directories.
Click to hide internal directories.