Class PositionalAliasedCli


  • public class PositionalAliasedCli
    extends java.lang.Object
    An example of creating a CLI that takes advantage of the aliases feature.

    Aliases provide a means by which you can define additional top level commands that simply delegate to actual commands. In this example we levarage the more advanced positional parameters feature to allow our alias to be passed simple arguments and invoke complex arguments on the actual command.

    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)  
      • Methods inherited from class java.lang.Object

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

      • PositionalAliasedCli

        public PositionalAliasedCli()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)