Give your Plugin a name
Each plugin should be given a name. This is done by adding the @org.jboss.forge.shell.plugins.Alias annotation to your plugin class.
By default, if no @Alias annotation is found, the lower-case Class name will be used; for instance, our ExamplePlugin, above, would be executed by typing:
$ exampleplugin
Now we will add a name to our plugin.
@Alias("example")
public class ExamplePlugin implements Plugin {
// commands
}
Our named @Alias("example") ExamplePlugin would be executed by typing:
$ example{code}