(ctx context.Context, args []string)
| 717 | } |
| 718 | |
| 719 | func reloadConfig(ctx context.Context, args []string) error { |
| 720 | ok, err := localClient.ReloadConfig(ctx) |
| 721 | if err != nil { |
| 722 | return err |
| 723 | } |
| 724 | if ok { |
| 725 | printf("config reloaded\n") |
| 726 | return nil |
| 727 | } |
| 728 | printf("config mode not in use\n") |
| 729 | os.Exit(1) |
| 730 | panic("unreachable") |
| 731 | } |
| 732 | |
| 733 | func runEnv(ctx context.Context, args []string) error { |
| 734 | for _, e := range os.Environ() { |
nothing calls this directly
no test coverage detected
searching dependent graphs…