Command

interface Command

表示命令的接口

Author

M8Test, [email protected], https://m8test.com

Inheritors

Functions

Link copied to clipboard
abstract fun execute(argument: String, environment: Map<String, Any>): Result

执行命令.

Link copied to clipboard
abstract fun getDescription(): String

获取命令描述, 说明命令的作用以及参数等等.

Link copied to clipboard
abstract fun getName(): String

获取命令名称.

Link copied to clipboard
abstract fun getVersion(): String

获取命令版本