Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Version = "dev"
Version is set at build time via ldflags: -X github.com/sofq/jira-cli/cmd.Version=<ver>
Functions ¶
func HandWrittenSchemaOps ¶ added in v0.8.2
HandWrittenSchemaOps returns schema operations for hand-written commands (workflow transition, workflow assign) so they appear in schema discovery and batch operations.
Types ¶
type BatchOp ¶
type BatchOp struct {
Command string `json:"command"`
Args map[string]string `json:"args"`
JQ string `json:"jq,omitempty"`
}
BatchOp represents a single operation in a batch request.
type BatchResult ¶
type BatchResult struct {
Index int `json:"index"`
ExitCode int `json:"exit_code"`
Data json.RawMessage `json:"data,omitempty"`
Error json.RawMessage `json:"error,omitempty"`
}
BatchResult holds the result of a single batch operation.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.