Skip to content

Commit

Permalink
lint, lisence
Browse files Browse the repository at this point in the history
  • Loading branch information
HuiquanJiang-ms committed Jul 8, 2024
1 parent c2deeef commit 93c2f13
Show file tree
Hide file tree
Showing 5 changed files with 366 additions and 261 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@

from .__cmd_group import *
from ._onboard import *
from ._trigger_evaluation import *
82 changes: 55 additions & 27 deletions src/acat/azext_acat/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,47 +12,75 @@


def load_command_table(self, _): # pylint: disable=unused-argument
with self.command_group('acat') as g:
with self.command_group("acat"):
from .custom import OnboardAcat
self.command_table["acat onboard"]=OnboardAcat(loader=self)

with self.command_group('acat report') as g:

self.command_table["acat onboard"] = OnboardAcat(loader=self)

from .custom import TriggerEvaluation

self.command_table["acat quick-evaluation"] = TriggerEvaluation(loader=self)

with self.command_group("acat report"):

from .custom import ListAcatReport
self.command_table["acat report list"]=ListAcatReport(loader=self)


self.command_table["acat report list"] = ListAcatReport(loader=self)

from .custom import ShowAcatReport
self.command_table["acat report show"]=ShowAcatReport(loader=self)

self.command_table["acat report show"] = ShowAcatReport(loader=self)

from .custom import CreateAcatReport
self.command_table["acat report create"]=CreateAcatReport(loader=self)

self.command_table["acat report create"] = CreateAcatReport(loader=self)

from .custom import UpdateAcatReport
self.command_table["acat report create"]=UpdateAcatReport(loader=self)


self.command_table["acat report update"] = UpdateAcatReport(loader=self)

from .custom import DeleteAcatReport
self.command_table["acat report delete"]=DeleteAcatReport(loader=self)


self.command_table["acat report delete"] = DeleteAcatReport(loader=self)

from .custom import GetControlAssessment
self.command_table["acat report get-control-assessment"]=GetControlAssessment(loader=self)


self.command_table["acat report get-control-assessments"] = GetControlAssessment(
loader=self
)

from .custom import DownloadAcatReport
self.command_table["acat report download"]=DownloadAcatReport(loader=self)

with self.command_group('acat report webhook') as g:

self.command_table["acat report download"] = DownloadAcatReport(loader=self)

with self.command_group("acat report webhook"):

from .custom import ListAcatReportWebhook
self.command_table["acat report webhook list"]=ListAcatReportWebhook(loader=self)


self.command_table["acat report webhook list"] = ListAcatReportWebhook(
loader=self
)

from .custom import ShowAcatReportWebhook
self.command_table["acat report webhook show"]=ShowAcatReportWebhook(loader=self)


self.command_table["acat report webhook show"] = ShowAcatReportWebhook(
loader=self
)

from .custom import CreateAcatReportWebhook
self.command_table["acat report webhook create"]=CreateAcatReportWebhook(loader=self)


self.command_table["acat report webhook create"] = CreateAcatReportWebhook(
loader=self
)

from .custom import UpdateAcatReportWebhook
self.command_table["acat report webhook update"]=UpdateAcatReportWebhook(loader=self)


self.command_table["acat report webhook update"] = UpdateAcatReportWebhook(
loader=self
)

from .custom import DeleteAcatReportWebhook
self.command_table["acat report webhook delete"]=DeleteAcatReportWebhook(loader=self)


self.command_table["acat report webhook delete"] = DeleteAcatReportWebhook(
loader=self
)
Loading

0 comments on commit 93c2f13

Please sign in to comment.