tags: maturity/experimental api/space-lua references:
APIs to define [Task#Custom states](Task#Custom states).
Defines a custom task state. Options:
name: name of the statedone: whether or not the state should be considered "done" or not, used by the Task: Remove Completed commandPrimarily used to offer code completion for custom task states for now.
taskState.define {
name = "TO DO"
}
taskState.define {
name = "IN PROGRESS"
}
taskState.define {
name = "DONE",
done = true
}
Use: