bump version to 1.4.0
This commit is contained in:
@@ -10,8 +10,8 @@ import com.infendro.cli.util.Regex.OPTION
|
||||
class Command private constructor(
|
||||
val name: String?,
|
||||
val commands: List<Command>,
|
||||
val options: List<Option<*>>,
|
||||
val arguments: List<Argument<*>>,
|
||||
val options: List<Option<*>>,
|
||||
internal val execute: Context.() -> Unit,
|
||||
) {
|
||||
val fallback: Boolean
|
||||
@@ -97,7 +97,7 @@ class Command private constructor(
|
||||
if (!::_execute.isInitialized)
|
||||
_execute = {}
|
||||
|
||||
return Command(name, commands, options, arguments, _execute)
|
||||
return Command(name, commands, arguments, options, _execute)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user