We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec74df7 commit 8bfa459Copy full SHA for 8bfa459
pkg/cmd/get/projects.go
@@ -34,8 +34,7 @@ var projectsCmd = &cobra.Command{
34
credentials, err := utils.GetCredentials(cmd)
35
utils.PrintError(err)
36
37
- //promptui to ask the user for the output format
38
- outputFormat := ""
+ outputFormat, _ := cmd.Flags().GetString("output")
39
40
projects, err := apis.ListProject(credentials)
41
0 commit comments