Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-5154

Shell script should be able to receive command line arguments

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Do
    • Icon: Major - P3 Major - P3
    • 2.1.0
    • Shell
    • None
    • All

    Description

      It should be possible to run

      ./mongo dbname myscript.js --myarg value

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

      Attachments

        Activity

          People

            geert.bosch@mongodb.com Geert Bosch
            srimonti Srimonti Karmakar
            Votes:
            5 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: