Skip to content

Commit

Permalink
lint and style
Browse files Browse the repository at this point in the history
  • Loading branch information
HuiquanJiang-ms committed Jul 5, 2024
1 parent c2deeef commit 632ad54
Show file tree
Hide file tree
Showing 3 changed files with 331 additions and 250 deletions.
78 changes: 51 additions & 27 deletions src/acat/azext_acat/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,47 +12,71 @@


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)

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 create"] = 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-assessment"] = 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 632ad54

Please sign in to comment.