set yaml/json tags for option structs

This commit is contained in:
Cory Bennett
2017-08-27 20:46:25 -07:00
parent c89f11d5b5
commit f52d2c472a
30 changed files with 116 additions and 122 deletions
+2 -2
View File
@@ -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 {