Class CompletionMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
io.yupiik.bundlebee.maven.mojo.BaseMojo
io.yupiik.bundlebee.maven.generated.mojo.CompletionMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="completion", requiresProject=false, threadSafe=true) public class CompletionMojo extends BaseMojo
Execute bash completion. Should be setup in your ~/.bashrc or ~/.profile file to be active. The result will be the list of proposal you can inject into COMPREPLY array. To set it up you can add this snippet to your .bashrc (assumes you uses the `bundlebee` linux binary and it is in your `$PATH` otherwise replace bundlebee by your own launching script): [source,bash] ---- complete -o default -o nospace -C "bundlebee completion" bundlebee ----
  • Field Summary

    Fields inherited from interface org.apache.maven.plugin.Mojo

    ROLE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     

    Methods inherited from class io.yupiik.bundlebee.maven.mojo.BaseMojo

    execute, toArgs

    Methods inherited from class org.apache.maven.plugin.AbstractMojo

    getLog, getPluginContext, setLog, setPluginContext

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CompletionMojo

      public CompletionMojo()
  • Method Details