hello, I do not remember how to do sub commands, unfortunately, my plugins with the subcommands that I did, I'm no longer, so can you tell me how we do it already?
For command arguments, assuming you have onCommand correctly in your PluginBase file, and you've registered the command in plugin.yml, you just use the $args array from onCommand. It's an array, so $args[0] is the subcommand, if the command sender used one.