mirror of
https://github.com/Threnklyn/jira.git
synced 2026-06-06 21:20:48 +02:00
set yaml/json tags for option structs
This commit is contained in:
+2
-2
@@ -9,8 +9,8 @@ import (
|
||||
)
|
||||
|
||||
type BrowseOptions struct {
|
||||
GlobalOptions `yaml:",inline" figtree:",inline"`
|
||||
Issue string
|
||||
GlobalOptions `yaml:",inline" json:",inline" figtree:",inline"`
|
||||
Issue string `yaml:"issue,omitempty" json:"issue,omitempty"`
|
||||
}
|
||||
|
||||
func CmdBrowseRegistry(fig *figtree.FigTree) *CommandRegistryEntry {
|
||||
|
||||
Reference in New Issue
Block a user