Any chance of adding support for nested commands?
I once again have stumbled across a situation where arguments are not satisfying my situation, and i would need subcommands that have subcommands
class EntitySubCommand extends BaseSubCommand
{
protected function prepare(): void
{
$this->registerArgument(0, new EntityTypeArgument("type", false));
$this->registerArgument(1, new RawStringArgument("name", false));
$this->setPermission("plugin.entity");
$this->registerSubCommand(new PropertiesEntitySubCommand("properties", "Change properties of the entity"));
}
Any chance of adding support for nested commands? I once again have stumbled across a situation where arguments are not satisfying my situation, and i would need subcommands that have subcommands
Example:
Or in code style: