()
| 24 | } |
| 25 | |
| 26 | func init() { |
| 27 | statusCmd.SetHelpFunc(wrapHelp(helpmenus.RenderStatusHelp)) |
| 28 | |
| 29 | rootCmd.AddCommand(statusCmd) |
| 30 | statusCmd.Flags().BoolVar(&noWait, "no-wait", false, "Display status once and exit without monitoring") |
| 31 | statusCmd.Flags().BoolVarP(&verboseStatus, "verbose", "v", false, "Show all events regardless of age") |
| 32 | } |
| 33 | |
| 34 | func RunStatus() error { |
| 35 | client, err := getAuthenticatedClient() |
nothing calls this directly
no test coverage detected