Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-1653

Allow multiple scripts with arguments to be passed to the Console

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Done
    • 3.2.4
    • 3.2.5
    • console
    • None

    Description

      Gremlin Console currently supports -e and -i for passing in scripts to execute from the command line, but it is only possible to pass one script with either command. It would be helpful to allow multiple scripts with associated arguments for each as it would provide greater flexibility when doing automation through the console.

      bin/gremlin.sh -i scripts/x.groovy -i scripts/y.groovy 123 test -D -i "scripts/z.groovy -D -i -e"
      

      Attachments

        Issue Links

          Activity

            People

              spmallette Stephen Mallette
              spmallette Stephen Mallette
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: