Commit 5cfdb22
committed
bug: Add missing CLI commands/actions to operations
This is for the Linode CLI.
In the current CLI release, we see this:
```bash
wsmith@linode::linode-cli[master]$ linode-cli default --help
linode-cli default [ACTION]
Available actions:
┌──────────────────────┬────────────────────────┐
│ action │ summary │
├──────────────────────┼────────────────────────┤
│ getEntityTransfers │ Entity Transfers List │
│ createEntityTransfer │ Entity Transfer Create │
│ getEntityTransfer │ Entity Transfer View │
│ deleteEntityTransfer │ Entity Transfer Cancel │
│ acceptEntityTransfer │ Entity Transfer Accept │
│ import │ Domain Import │
└──────────────────────┴────────────────────────┘
```
These operations appear in "default" because they have no
`x-linode-cli-command` defined in the spec (so they fall into the
default command). This isn't ideal. Additionally, many of those
commands are using their operationId as their action since they lack a
`x-linode-cli-action` element.
This change adds a command and action to all of the above.1 parent c0f5efc commit 5cfdb22
1 file changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
598 | 598 | | |
599 | 599 | | |
600 | 600 | | |
| 601 | + | |
601 | 602 | | |
602 | 603 | | |
603 | 604 | | |
| 605 | + | |
604 | 606 | | |
605 | 607 | | |
606 | 608 | | |
| |||
639 | 641 | | |
640 | 642 | | |
641 | 643 | | |
| 644 | + | |
642 | 645 | | |
643 | 646 | | |
644 | 647 | | |
| |||
685 | 688 | | |
686 | 689 | | |
687 | 690 | | |
| 691 | + | |
688 | 692 | | |
689 | 693 | | |
690 | 694 | | |
| |||
696 | 700 | | |
697 | 701 | | |
698 | 702 | | |
| 703 | + | |
699 | 704 | | |
700 | 705 | | |
701 | 706 | | |
| |||
724 | 729 | | |
725 | 730 | | |
726 | 731 | | |
| 732 | + | |
727 | 733 | | |
728 | 734 | | |
729 | 735 | | |
| |||
751 | 757 | | |
752 | 758 | | |
753 | 759 | | |
| 760 | + | |
754 | 761 | | |
755 | 762 | | |
756 | 763 | | |
| |||
762 | 769 | | |
763 | 770 | | |
764 | 771 | | |
| 772 | + | |
765 | 773 | | |
766 | 774 | | |
767 | 775 | | |
| |||
3344 | 3352 | | |
3345 | 3353 | | |
3346 | 3354 | | |
| 3355 | + | |
3347 | 3356 | | |
3348 | 3357 | | |
3349 | 3358 | | |
| |||
0 commit comments