Add plugin info on the CLI when reading a host. (#1725)

pull/1727/head
Todd 4 years ago committed by GitHub
parent 54a508ef7f
commit 63bf60654e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -160,6 +160,14 @@ func printItemTable(result api.GenericResult) string {
)
}
if item.Plugin != nil {
ret = append(ret,
"",
" Plugin:",
base.PluginInfoForOutput(item.Plugin, maxLength),
)
}
if len(item.AuthorizedActions) > 0 {
ret = append(ret,
"",

Loading…
Cancel
Save