(cli *SeesawCLI, args []string)
| 162 | } |
| 163 | |
| 164 | func configStatus(cli *SeesawCLI, args []string) error { |
| 165 | cs, err := cli.seesaw.ConfigStatus() |
| 166 | if err != nil { |
| 167 | return fmt.Errorf("Failed to get config status: %v", err) |
| 168 | } |
| 169 | printHdr("Config Status") |
| 170 | printVal("Last Update", cs.LastUpdate.Format(timeStamp)) |
| 171 | fmt.Println() |
| 172 | fmt.Println(" Attributes:") |
| 173 | for _, attr := range cs.Attributes { |
| 174 | printVal(label(attr.Name, 4, 18), attr.Value) |
| 175 | } |
| 176 | |
| 177 | return nil |
| 178 | } |
| 179 | |
| 180 | func showNode(cli *SeesawCLI, args []string) error { |
| 181 | if len(args) > 1 { |
nothing calls this directly
no test coverage detected