Categories
Categories can be added to the base command or nested in other categories with the category() method.
Configuration
Category implements option()
, category()
, printFunc()
, saveFunc()
and helpFunc()
methods in the same way as the base command node.
Example
Result
Although, this category doesn't have any other nodes and will throw an exception upon running the command.
Last updated