File tree 1 file changed +3
-0
lines changed 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -238,6 +238,7 @@ func NewRootCmd(
238
238
GroupingOptions : actions.CommandGroupOptions {
239
239
RootLevelHelp : actions .CmdGroupAzure ,
240
240
},
241
+ RequireLogin : true ,
241
242
}).
242
243
UseMiddlewareWhen ("hooks" , middleware .NewHooksMiddleware , func (descriptor * actions.ActionDescriptor ) bool {
243
244
if onPreview , _ := descriptor .Options .Command .Flags ().GetBool ("preview" ); onPreview {
@@ -286,6 +287,7 @@ func NewRootCmd(
286
287
GroupingOptions : actions.CommandGroupOptions {
287
288
RootLevelHelp : actions .CmdGroupAzure ,
288
289
},
290
+ RequireLogin : true ,
289
291
}).
290
292
UseMiddleware ("hooks" , middleware .NewHooksMiddleware ).
291
293
UseMiddleware ("extensions" , middleware .NewExtensionsMiddleware )
@@ -335,6 +337,7 @@ func NewRootCmd(
335
337
GroupingOptions : actions.CommandGroupOptions {
336
338
RootLevelHelp : actions .CmdGroupAzure ,
337
339
},
340
+ RequireLogin : true ,
338
341
}).
339
342
UseMiddleware ("hooks" , middleware .NewHooksMiddleware ).
340
343
UseMiddleware ("extensions" , middleware .NewExtensionsMiddleware )
You can’t perform that action at this time.
0 commit comments