mirror of
https://github.com/Threnklyn/jira.git
synced 2026-06-13 16:13:34 +02:00
set yaml/json tags for option structs
This commit is contained in:
+3
-3
@@ -11,9 +11,9 @@ import (
|
||||
)
|
||||
|
||||
type AssignOptions struct {
|
||||
GlobalOptions `yaml:",inline" figtree:",inline"`
|
||||
Issue string
|
||||
Assignee string
|
||||
GlobalOptions `yaml:",inline" json:",inline" figtree:",inline"`
|
||||
Issue string `yaml:"issue,omitempty" json:"issue,omitempty"`
|
||||
Assignee string `yaml:"assignee,omitempty" json:"assignee,omitempty"`
|
||||
}
|
||||
|
||||
func CmdAssignRegistry(fig *figtree.FigTree, o *oreo.Client) *CommandRegistryEntry {
|
||||
|
||||
Reference in New Issue
Block a user