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
@@ -12,9 +12,9 @@ import (
|
||||
)
|
||||
|
||||
type CommentOptions struct {
|
||||
GlobalOptions `yaml:",inline" figtree:",inline"`
|
||||
Overrides map[string]string
|
||||
Issue string
|
||||
GlobalOptions `yaml:",inline" json:",inline" figtree:",inline"`
|
||||
Overrides map[string]string `yaml:"overrides,omitempty" json:"overrides,omitempty"`
|
||||
Issue string `yaml:"issue,omitempty" json:"issue,omitempty"`
|
||||
}
|
||||
|
||||
func CmdCommentRegistry(fig *figtree.FigTree, o *oreo.Client) *CommandRegistryEntry {
|
||||
|
||||
Reference in New Issue
Block a user