src.plugins.plugin_durachok
1from src.cmd_types.commands import ExecutableCommand 2from src.decorators.commands_register import command 3 4@command("xd") 5class CommandXD(ExecutableCommand): 6 def _parse_args(self, *args): 7 return [] 8 9 def execute(self): 10 raise Exception("Razrabotchik krivorukiy") 11 12@command("ls") 13class CommandLs(ExecutableCommand): 14 def _parse_args(self, *args): 15 pass 16 17 def execute(self): 18 pass 19 20@command("jk") 21class CommandJk(ExecutableCommand): 22 def _parse_args(self,): 23 raise Exception("Razrabotchik krivorukiy n.2") 24 25 def execute(self): 26 self._parse_args()
5@command("xd") 6class CommandXD(ExecutableCommand): 7 def _parse_args(self, *args): 8 return [] 9 10 def execute(self): 11 raise Exception("Razrabotchik krivorukiy")
Abstract class for executable commands(has no undo method)
Parameters
- args: list of arguments passed to the command
Inherited Members
13@command("ls") 14class CommandLs(ExecutableCommand): 15 def _parse_args(self, *args): 16 pass 17 18 def execute(self): 19 pass
Abstract class for executable commands(has no undo method)
Parameters
- args: list of arguments passed to the command
Inherited Members
21@command("jk") 22class CommandJk(ExecutableCommand): 23 def _parse_args(self,): 24 raise Exception("Razrabotchik krivorukiy n.2") 25 26 def execute(self): 27 self._parse_args()
Abstract class for executable commands(has no undo method)
Parameters
- args: list of arguments passed to the command