Skip to content

Commit 77b673c

Browse files
authored
Add Azure Edge Order CLI settings (#17957)
- add subgroups - simplify command names
1 parent f06ba07 commit 77b673c

File tree

1 file changed

+82
-0
lines changed

1 file changed

+82
-0
lines changed
Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
# AZ
2+
3+
These settings apply only when `--az` is specified on the command line.
4+
5+
``` yaml $(az)
6+
az:
7+
extensions: edgeorder
8+
namespace: azure.mgmt.edgeorder
9+
package-name: azure-mgmt-edgeorder
10+
az-output-folder: $(azure-cli-extension-folder)/src/edgeorder
11+
python-sdk-output-folder: "$(az-output-folder)/azext_edgeorder/vendored_sdks/edgeorder"
12+
13+
# add additional configuration here specific for Azure CLI
14+
# refer to the faq.md for more details
15+
directive:
16+
# add `address` subgroup
17+
- where:
18+
command: edgeorder create-address
19+
set:
20+
command: edgeorder address create
21+
- where:
22+
command: edgeorder delete-address
23+
set:
24+
command: edgeorder address delete
25+
- where:
26+
command: edgeorder show-address
27+
set:
28+
command: edgeorder address show
29+
- where:
30+
command: edgeorder update-address
31+
set:
32+
command: edgeorder address update
33+
# add `order` subgroup
34+
- where:
35+
command: edgeorder show-order
36+
set:
37+
command: edgeorder order show
38+
- where:
39+
command: edgeorder list
40+
set:
41+
command: edgeorder order list
42+
# add `order-item` subgroup
43+
- where:
44+
command: edgeorder create-order-item
45+
set:
46+
command: edgeorder order-item create
47+
- where:
48+
command: edgeorder show-order-item
49+
set:
50+
command: edgeorder order-item show
51+
- where:
52+
command: edgeorder update-order-item
53+
set:
54+
command: edgeorder order-item update
55+
- where:
56+
command: edgeorder delete-order-item
57+
set:
58+
command: edgeorder order-item delete
59+
- where:
60+
command: edgeorder cancel-order-item
61+
set:
62+
command: edgeorder order-item cancel
63+
- where:
64+
command: edgeorder return-order-item
65+
set:
66+
command: edgeorder order-item return
67+
# simplify `list-configuration` with `list-config`
68+
- where:
69+
command: edgeorder list-configuration
70+
set:
71+
command: edgeorder list-config
72+
# simplify `list-product-family` with `list-family`
73+
- where:
74+
command: edgeorder list-product-family
75+
set:
76+
command: edgeorder list-family
77+
# simplify `list-product-family-metadata` with `list-metadata`
78+
- where:
79+
command: edgeorder list-product-family-metadata
80+
set:
81+
command: edgeorder list-metadata
82+
```

0 commit comments

Comments
 (0)