You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
utils.White_B.Fprintln(writer, fmt.Sprintf("\nShowing %d of %d workflow runs", workflowRuns.Data.ListWorkflowRunsDetails.TotalNoOfWorkflowRuns, workflowRuns.Data.ListWorkflowRunsDetails.TotalNoOfWorkflowRuns))
96
+
} else {
97
+
utils.White_B.Fprintln(writer, fmt.Sprintf("\nShowing %d of %d workflow runs", listWorkflowRunsRequest.Pagination.Limit, workflowRuns.Data.ListWorkflowRunsDetails.TotalNoOfWorkflowRuns))
98
+
}
99
+
100
+
writer.Flush()
101
+
}
102
+
},
103
+
}
104
+
105
+
funcinit() {
106
+
GetCmd.AddCommand(workflowRunsCmd)
107
+
108
+
workflowRunsCmd.Flags().String("project-id", "", "Set the project-id to list workflows from the particular project. To see the projects, apply litmusctl get projects")
109
+
workflowRunsCmd.Flags().Int("count", 30, "Set the count of workflow runs to display. Default value is 30")
110
+
workflowRunsCmd.Flags().BoolP("all", "A", false, "Set to true to display all workflow runs")
111
+
112
+
workflowRunsCmd.Flags().StringP("output", "o", "", "Output format. One of:\njson|yaml")
0 commit comments