You've already forked step-ca-cli
mirror of
https://github.com/smallstep/cli.git
synced 2025-08-06 05:02:39 +03:00
This is tags now (cc @maraino @dcow)
This commit is contained in:
@@ -67,7 +67,7 @@ func hostsAction(ctx *cli.Context) error {
|
|||||||
// Format in tab-separated columns with a tab stop of 8.
|
// Format in tab-separated columns with a tab stop of 8.
|
||||||
w.Init(os.Stdout, 0, 8, 0, '\t', 0)
|
w.Init(os.Stdout, 0, 8, 0, '\t', 0)
|
||||||
|
|
||||||
fmt.Fprintln(w, "HOSTNAME\tID\tGROUPS")
|
fmt.Fprintln(w, "HOSTNAME\tID\tTAGS")
|
||||||
for _, h := range resp.Hosts {
|
for _, h := range resp.Hosts {
|
||||||
groups := ""
|
groups := ""
|
||||||
for i, hg := range h.HostGroups {
|
for i, hg := range h.HostGroups {
|
||||||
|
Reference in New Issue
Block a user