コード例 #1
0
ファイル: actions.py プロジェクト: aventurella/pydrupal
 def __call__(self):
     print("PyDrupal -- Listing all modules")
     service = ModuleService()
     modules = service.load()
     for  module in modules:
         print("{} : {}".format(module.name, module.description))
コード例 #2
0
ファイル: actions.py プロジェクト: aventurella/pydrupal
 def __call__(self):
     service = ModuleService()
     service.load(self.name)