(ctx context.Context)
| 9 | ) |
| 10 | |
| 11 | func ProjectsGenericListAutoComplete(ctx context.Context) error { |
| 12 | client, err := config.ScalingoClient(ctx) |
| 13 | if err != nil { |
| 14 | return errors.Wrap(ctx, err, "get Scalingo client") |
| 15 | } |
| 16 | projects, err := client.ProjectsList(ctx) |
| 17 | if err == nil { |
| 18 | for _, proj := range projects { |
| 19 | fmt.Println(proj.ID) |
| 20 | } |
| 21 | } |
| 22 | |
| 23 | return nil |
| 24 | } |
no test coverage detected