Shell script should be able to receive command line arguments

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Do
    • Priority: Major - P3
    • Affects Version/s: 2.1.0
    • Component/s: Shell
    • None
    • Environment:
      All
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      It should be possible to run

      ./mongo dbname myscript.js --myarg value

      where myarg would be passed to myscript as a command line argument.

            Assignee:
            Geert Bosch
            Reporter:
            Srimonti Karmakar
            Votes:
            5 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: