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
Functions ¶
func NewRootCommand ¶ added in v0.8.0
Types ¶
type Env ¶ added in v0.8.0
type Env struct {
// contains filtered or unexported fields
}
Env is the environment of a command
type JSONBugExcerpt ¶ added in v0.8.0
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"` Comments int `json:"comments"` Metadata map[string]string `json:"metadata"` }
type JSONBugSnapshot ¶ added in v0.8.0
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"` Actors []JSONIdentity `json:"actors"` Participants []JSONIdentity `json:"participants"` Comments []JSONComment `json:"comments"` }
type JSONComment ¶ added in v0.8.0
type JSONComment struct { Id string `json:"id"` HumanId string `json:"human_id"` Author JSONIdentity `json:"author"` Message string `json:"message"` }
func NewJSONComment ¶ added in v0.8.0
func NewJSONComment(comment bug.Comment) JSONComment
type JSONIdentity ¶ added in v0.8.0
type JSONIdentity struct { Id string `json:"id"` HumanId string `json:"human_id"` Name string `json:"name"` Login string `json:"login"` }
func NewJSONIdentity ¶ added in v0.8.0
func NewJSONIdentity(i identity.Interface) JSONIdentity
func NewJSONIdentityFromExcerpt ¶ added in v0.8.0
func NewJSONIdentityFromExcerpt(excerpt *cache.IdentityExcerpt) JSONIdentity
func NewJSONIdentityFromLegacyExcerpt ¶ added in v0.8.0
func NewJSONIdentityFromLegacyExcerpt(excerpt *cache.LegacyAuthorExcerpt) JSONIdentity
Source Files ¶
- add.go
- bridge.go
- bridge_auth.go
- bridge_auth_addtoken.go
- bridge_auth_rm.go
- bridge_auth_show.go
- bridge_configure.go
- bridge_pull.go
- bridge_push.go
- bridge_rm.go
- commands.go
- comment.go
- comment_add.go
- comment_edit.go
- deselect.go
- env.go
- env_testing.go
- helper_completion.go
- json_common.go
- label.go
- label_add.go
- label_ls.go
- label_rm.go
- ls-id.go
- ls-labels.go
- ls.go
- pull.go
- push.go
- rm.go
- root.go
- select.go
- show.go
- status.go
- status_close.go
- status_open.go
- termui.go
- title.go
- title_edit.go
- user.go
- user_adopt.go
- user_create.go
- user_ls.go
- version.go
- webui.go
Click to show internal directories.
Click to hide internal directories.