code: @Override
  	public void run(ApplicationArguments args) throws Exception {
  		List<File> scriptsToRun = args.getNonOptionArgs().stream()
  				.filter(s -> s.startsWith("@"))
  				.map(s -> new File(s.substring(1)))
  				.collect(Collectors.toList());
  
  		boolean batchEnabled = environment.getProperty(SPRING_SHELL_SCRIPT_ENABLED, boolean.class, true);
  
  		if (!scriptsToRun.isEmpty() && batchEnabled) {
  			InteractiveShellApplicationRunner.disable(environment);
  			for (File file : scriptsToRun) {
  				try (Reader reader = new FileReader(file);
  						FileInputProvider inputProvider = new FileInputProvider(reader, parser)) {
  					shell.run(inputProvider);
  				}
  			}
  		}
  	}
docs: tag::documentation[]