@@ -23,7 +23,6 @@ func GetGeneratedCommands() *core.Commands {
23
23
dediboxServer (),
24
24
dediboxService (),
25
25
dediboxOffer (),
26
- dediboxOption (),
27
26
dediboxOs (),
28
27
dediboxBmc (),
29
28
dediboxReverseIP (),
@@ -38,10 +37,10 @@ func GetGeneratedCommands() *core.Commands {
38
37
dediboxRpnV2 (),
39
38
dediboxServerList (),
40
39
dediboxServerGet (),
41
- dediboxOptionList (),
42
- dediboxOptionSubscribe (),
40
+ dediboxServerListOptions (),
41
+ dediboxServerSubscribeOption (),
43
42
dediboxServerCreate (),
44
- dediboxOptionSubscribeStorage (),
43
+ dediboxServerSubscribeStorage (),
45
44
dediboxServerUpdate (),
46
45
dediboxServerReboot (),
47
46
dediboxServerStart (),
@@ -167,15 +166,6 @@ func dediboxOffer() *core.Command {
167
166
}
168
167
}
169
168
170
- func dediboxOption () * core.Command {
171
- return & core.Command {
172
- Short : `Subscribable server options commands` ,
173
- Long : `Subscribable server options commands.` ,
174
- Namespace : "dedibox" ,
175
- Resource : "option" ,
176
- }
177
- }
178
-
179
169
func dediboxOs () * core.Command {
180
170
return & core.Command {
181
171
Short : `OS commands` ,
@@ -368,13 +358,13 @@ func dediboxServerGet() *core.Command {
368
358
}
369
359
}
370
360
371
- func dediboxOptionList () * core.Command {
361
+ func dediboxServerListOptions () * core.Command {
372
362
return & core.Command {
373
363
Short : `List subscribable server options` ,
374
364
Long : `List subscribable options associated to the given server ID.` ,
375
365
Namespace : "dedibox" ,
376
- Resource : "option " ,
377
- Verb : "list" ,
366
+ Resource : "server " ,
367
+ Verb : "list-options " ,
378
368
// Deprecated: false,
379
369
ArgsType : reflect .TypeOf (dedibox.ListSubscribableServerOptionsRequest {}),
380
370
ArgSpecs : core.ArgSpecs {
@@ -407,13 +397,13 @@ func dediboxOptionList() *core.Command {
407
397
}
408
398
}
409
399
410
- func dediboxOptionSubscribe () * core.Command {
400
+ func dediboxServerSubscribeOption () * core.Command {
411
401
return & core.Command {
412
402
Short : `Subscribe server option` ,
413
403
Long : `Subscribe option for the given server ID.` ,
414
404
Namespace : "dedibox" ,
415
- Resource : "option " ,
416
- Verb : "subscribe" ,
405
+ Resource : "server " ,
406
+ Verb : "subscribe-option " ,
417
407
// Deprecated: false,
418
408
ArgsType : reflect .TypeOf (dedibox.SubscribeServerOptionRequest {}),
419
409
ArgSpecs : core.ArgSpecs {
@@ -489,12 +479,12 @@ func dediboxServerCreate() *core.Command {
489
479
}
490
480
}
491
481
492
- func dediboxOptionSubscribeStorage () * core.Command {
482
+ func dediboxServerSubscribeStorage () * core.Command {
493
483
return & core.Command {
494
484
Short : `Subscribe storage server option` ,
495
485
Long : `Subscribe storage option for the given server ID.` ,
496
486
Namespace : "dedibox" ,
497
- Resource : "option " ,
487
+ Resource : "server " ,
498
488
Verb : "subscribe-storage" ,
499
489
// Deprecated: false,
500
490
ArgsType : reflect .TypeOf (dedibox.SubscribeStorageOptionsRequest {}),
0 commit comments