I use CommandSpec, and add arguments with .arguments(GenericArguments.string(KEY)
But what exactly is the key for? Can I use this key later to get what the user typed as this argument?
If yes, how?
In another post, I asked about the testPermission method from CommandCallable.
And the answer was, that I have to call this method by myself.
But now I am wondering how the getSuggestions method works.
Am I right, that I have to call this myself, too?
If yes, how does this work? How can I tell the client what inputs are correct for tab-completion?