sk89q-command-framework is the command framework from sk89q's WorldEdit. It has been factored out so it may be used in other projects without having to include WorldEdit as a dependency.
This is a custom build of the command framework implementing a tab completion option into the framework.
You need to have Maven installed (http://maven.apache.org). Once installed, simply run:
mvn clean install
Maven will automatically download dependencies for you. Note: For that to work, be sure to add Maven to your "PATH".
Your submissions have to be licensed under the GNU General Public License v3.
token - Current fully completed token of the command
tabOptions - possible tabbing options. Childern of a token are automatically added if the current token is a nested tab completion.
useTabOptions - If true tabOptions will be used in tab completion, If false the method will be called
Method definition - public static List<String> test(TabContext context, CommandSender sender, Command command)
@NestedTabCompletion Allows for nested tab completion of commands, works like @NestedCommand