forked from Azure/azure-cli-extensions
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcommands.py
More file actions
22 lines (16 loc) · 995 Bytes
/
commands.py
File metadata and controls
22 lines (16 loc) · 995 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------------------------------
def load_command_table(self, _):
with self.command_group("confcom") as g:
g.custom_command("acipolicygen", "acipolicygen_confcom")
g.custom_command("acifragmentgen", "acifragmentgen_confcom")
g.custom_command("katapolicygen", "katapolicygen_confcom")
with self.command_group("confcom fragment") as g:
g.custom_command("attach", "fragment_attach", is_preview=True)
g.custom_command("push", "fragment_push", is_preview=True)
with self.command_group("confcom"):
pass
with self.command_group("confcom containers") as g:
g.custom_command("from_image", "containers_from_image")