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
Copy file name to clipboardExpand all lines: cmd/updates.go
+62-20Lines changed: 62 additions & 20 deletions
Original file line number
Diff line number
Diff line change
@@ -50,6 +50,7 @@ to quickly create a Cobra application.`,
50
50
justSearchbool
51
51
thisMUstring
52
52
cleanupbool
53
+
autoApprovebool
53
54
)
54
55
55
56
funcinit() {
@@ -58,6 +59,7 @@ func init() {
58
59
RootCmd.PersistentFlags().BoolVarP(&justSearch, "search", "s", false, "flag that would trigger only looking for updates on OBS")
59
60
RootCmd.PersistentFlags().StringVarP(&thisMU, "maintupdate", "m", "", "flag that consumes the name of an MU, like 'SUSE:Maintenance:Incident:ReleaseRequest'")
60
61
RootCmd.PersistentFlags().BoolVarP(&cleanup, "cleanup", "k", false, "flag that triggers cleaning up the storage (from old MU channels)")
62
+
RootCmd.PersistentFlags().BoolVar(&autoApprove, "auto-approve", false, "triggers automatic deleting of repositories")
0 commit comments