Documentation ¶
Overview ¶
Package commands contains the CLI commands
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GitCommit string
These variables are initialized externally during the build. See the Makefile.
View Source
var GitExactTag string
View Source
var GitLastTag string
View Source
var RebuildCache bool
Global flags
Functions ¶
func NewRootCommand ¶
func ResolveUser ¶
Types ¶
type Env ¶
type Env struct {
// contains filtered or unexported fields
}
Env is the environment of a command
type JSONBugExcerpt ¶
type JSONBugExcerpt struct { Id string `json:"id"` HumanId string `json:"human_id"` CreateTime JSONTime `json:"create_time"` EditTime JSONTime `json:"edit_time"` Status string `json:"status"` Labels []bug.Label `json:"labels"` Title string `json:"title"` Actors []JSONIdentity `json:"actors"` Participants []JSONIdentity `json:"participants"` Author JSONIdentity `json:"author"` Assignee JSONIdentity `json:"assignee"` Ccb []JSONCcbInfo `json:"ccb"` Comments int `json:"comments"` Metadata map[string]string `json:"metadata"` }
type JSONBugSnapshot ¶
type JSONBugSnapshot struct { Id string `json:"id"` HumanId string `json:"human_id"` CreateTime JSONTime `json:"create_time"` EditTime JSONTime `json:"edit_time"` Status string `json:"status"` Labels []bug.Label `json:"labels"` Title string `json:"title"` Author JSONIdentity `json:"author"` Assignee JSONIdentity `json:"assignee"` Ccb []JSONCcbInfo `json:"ccb"` Actors []JSONIdentity `json:"actors"` Participants []JSONIdentity `json:"participants"` Comments []JSONComment `json:"comments"` }
type JSONCcbInfo ¶
type JSONCcbInfo struct { User JSONIdentity Status string State string }
type JSONComment ¶
type JSONComment struct { Id string `json:"id"` HumanId string `json:"human_id"` Author JSONIdentity `json:"author"` Message string `json:"message"` }
func NewJSONComment ¶
func NewJSONComment(comment bug.Comment) JSONComment
type JSONIdentity ¶
type JSONIdentity struct { Id string `json:"id"` HumanId string `json:"human_id"` Name string `json:"name"` Login string `json:"login"` }
func NewJSONIdentity ¶
func NewJSONIdentity(i identity.Interface) JSONIdentity
func NewJSONIdentityFromExcerpt ¶
func NewJSONIdentityFromExcerpt(excerpt *cache.IdentityExcerpt) JSONIdentity
func NewJSONIdentityFromLegacyExcerpt ¶
func NewJSONIdentityFromLegacyExcerpt(excerpt *cache.LegacyAuthorExcerpt) JSONIdentity
Source Files ¶
- add.go
- assign.go
- ccb.go
- ccb_add.go
- ccb_approve.go
- ccb_block.go
- ccb_ls.go
- ccb_rm.go
- checklist.go
- checklist_list.go
- checklist_show.go
- commands.go
- comment.go
- comment_add.go
- comment_edit.go
- config.go
- config_set.go
- deselect.go
- env.go
- json_common.go
- label.go
- label_add.go
- label_rm.go
- ls-id.go
- ls-labels.go
- ls.go
- pull.go
- push.go
- refresh.go
- reset.go
- review.go
- review_checklist.go
- review_clear.go
- review_fetch.go
- rm.go
- root.go
- select.go
- show.go
- status.go
- status_set.go
- termui.go
- title.go
- title_edit.go
- user.go
- user_adopt.go
- user_create.go
- user_edit.go
- user_fixup.go
- user_key.go
- user_key_add.go
- user_key_rm.go
- user_ls.go
- validate.go
- version.go
Click to show internal directories.
Click to hide internal directories.