@Override public void execute(Context context, ProcessedCommand commandLine) { context.println("Client Version " + Version.class.getPackage().getImplementationVersion()); if (context.isConnected()) { super.execute(context, commandLine); } }
@Override public void complete( final Context context, final ProcessedCommand procCmd, final List<String> candidates) { Completer.addPrefixMatches( procCmd.getCurrentArgument(), context.getConnection().getAvailableCaches(), candidates); }