(deps commandDeps)
| 967 | } |
| 968 | |
| 969 | func newTaskReviewCommand(deps commandDeps) *cobra.Command { |
| 970 | cmd := &cobra.Command{ |
| 971 | Use: taskReviewKey, |
| 972 | Short: "Manage task-run reviews", |
| 973 | RunE: func(cmd *cobra.Command, _ []string) error { |
| 974 | return cmd.Help() |
| 975 | }, |
| 976 | } |
| 977 | cmd.AddCommand(newTaskReviewRequestCommand(deps)) |
| 978 | cmd.AddCommand(newTaskReviewListCommand(deps)) |
| 979 | cmd.AddCommand(newTaskReviewShowCommand(deps)) |
| 980 | cmd.AddCommand(newTaskReviewSubmitCommand(deps)) |
| 981 | return cmd |
| 982 | } |
| 983 | |
| 984 | func newTaskReviewRequestCommand(deps commandDeps) *cobra.Command { |
| 985 | var ( |
no test coverage detected