afterExecute

abstract fun afterExecute(listener: (fullCommand: String, command: Command, result: Result) -> Unit)

添加在命令运行之后执行的监听器

Receiver

第一个参数为执行完成的命令字符串,第二个参数为执行该命令的命令对象, 第三个参数为命令执行的结果

Parameters

listener

需要添加的监听器