mirror of
https://github.com/Threnklyn/jira.git
synced 2026-06-04 03:58:29 +02:00
set yaml/json tags for option structs
This commit is contained in:
@@ -11,8 +11,8 @@ import (
|
||||
)
|
||||
|
||||
type ComponentsOptions struct {
|
||||
GlobalOptions `yaml:",inline" figtree:",inline"`
|
||||
Project string
|
||||
GlobalOptions `yaml:",inline" json:",inline" figtree:",inline"`
|
||||
Project string `yaml:"project,omitempty" json:"project,omitempty"`
|
||||
}
|
||||
|
||||
func CmdComponentsRegistry(fig *figtree.FigTree, o *oreo.Client) *CommandRegistryEntry {
|
||||
|
||||
Reference in New Issue
Block a user