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

`edit` shell command should be more flexible

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Trivial - P5 Trivial - P5
    • None
    • None
    • Shell
    • Any

    Description

      Currently, the `edit` command does not allow the following:

      • Opening an empty "command" (i.e., just typing `edit`)
      • Opening strings that may look like a JavaScript variable, but are not.
      • Strings that do not contain spaces or are not quoted.
        Works: edit "asd"
        Works: edit asd asd
        Does not work: edit asd
        Does not work: edit asd_asd

      Since edit is being used as a connection from Mongo to $EDITOR, this functionality should be enabled.

      Attachments

        Activity

          People

            backlog-server-platform DO NOT USE - Backlog - Platform Team
            amcfague Andrew McFague
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: