code: @Override
    public ExitCode doCommandImpl(ArgsBase args) // , ConfigBoot resinBoot)
        throws CommandLineException
    {
      Console console = System.console();
  
      /*
      if (args.env().isEmbedded()) {
        console = null;
      }
      
      */
  
      String fileName = args.getArg("input");
      
      if (fileName != null) {
        throw new UnsupportedOperationException();
        /*
        PathImpl pwd = VfsOld.getPwd();
        PathImpl scriptPath = VfsOld.lookup(fileName);
  
        try (ReadStream is = scriptPath.openRead()) {
          // XXX: change to __DIR__ and __FILE__
          VfsOld.setPwd(scriptPath.getParent());
  
          doBatch(is, args);
        } catch (IOException e) {
          throw new RuntimeException(e);
        } finally {
          VfsOld.setPwd(pwd);
        }
  
        return ExitCode.OK;
        */
      }
      else if (console != null) {
        System.err.println(L.l("{0}\n{1}",
                               Version.getFullVersion(),
                               Version.getCopyright()));
        System.err.println(L.l("Use 'help' for help and 'exit' to exit the {0} shell.",
                               args.programName()));
  
        doConsole(console, args);
      }
      else {
        doBatch(args);
      }
  
      return ExitCode.OK;
    }
docs: /*
  @Override
  protected void initBootOptions()
  {
  super.initBootOptions();
  
  addValueOption("input", "FILE", "input script").tiny("i");
  }