command_system. do not automatically enable Execute class
This commit is contained in:
parent
735888d22e
commit
98781f8db4
|
@ -41,7 +41,7 @@ from ..framework import CommandContainer, command, doc
|
||||||
from hosts import *
|
from hosts import *
|
||||||
|
|
||||||
class Execute(CommandContainer):
|
class Execute(CommandContainer):
|
||||||
AUTOMATIC = True
|
AUTOMATIC = False
|
||||||
HOSTS = ChatCommands, PrivateChatCommands, GroupChatCommands
|
HOSTS = ChatCommands, PrivateChatCommands, GroupChatCommands
|
||||||
|
|
||||||
DIRECTORY = "~"
|
DIRECTORY = "~"
|
||||||
|
@ -117,4 +117,4 @@ class Show(Execute):
|
||||||
if success and stdout:
|
if success and stdout:
|
||||||
processor.send(stdout)
|
processor.send(stdout)
|
||||||
elif not success and stderr:
|
elif not success and stderr:
|
||||||
processor.echo_error(stderr)
|
processor.echo_error(stderr)
|
||||||
|
|
Loading…
Reference in New Issue