@Override public void initialise(FindOptions options) throws IOException { super.initialise(options); String commandName = getArgument(1); this.command = getOptions().getCommandFactory().getInstance(commandName); if(this.command == null) { throw new IOException("Unknown command: " + commandName); } pathItems = new ArrayList<String>(); }