feat(cmd): Include version metadata in output (#1560)
If the VersionMetadata is set, include it in the output of the `boundary version` subcommand.
This commit is contained in:
1 parent
49d5711a49
commit
88b3c8358c
1 file changed
+3
@@ -67,6 +67,9 @@ func (c *Command) Run(args []string) int {
|
||||
if verInfo.Version != "" {
|
||||
nonAttributeMap["Version Number"] = verInfo.VersionNumber()
|
||||
}
|
||||
if verInfo.VersionMetadata != "" {
|
||||
nonAttributeMap["Metadata"] = verInfo.VersionMetadata
|
||||
}
|
||||
|
||||
maxLength := base.MaxAttributesLength(nonAttributeMap, nil, nil)
|
||||
|
||||
|
||||
Reference in new issue
Block a user