public CustomCommandLine < ? > getActiveCustomCommandLine ( CommandLine commandLine ) { for ( CustomCommandLine < ? > cli : customCommandLines ) { if ( cli . isActive ( commandLine ) ) { return cli ; } } throw new IllegalStateException ( "No command-line ran." ) ; }
Gets the custom command - line for the arguments .