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

Allow multiple scripts with arguments to be passed to the Console

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 3.2.4
    • Fix Version/s: 3.2.5
    • Component/s: console
    • Labels:
      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

              • Assignee:
                spmallette stephen mallette
                Reporter:
                spmallette stephen mallette
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: