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

`edit` shell command should be more flexible

    • Type: Icon: Improvement Improvement
    • Resolution: Duplicate
    • Priority: Icon: Trivial - P5 Trivial - P5
    • None
    • Affects Version/s: None
    • Component/s: Shell
    • Environment:
      Any

      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.

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

              Created:
              Updated:
              Resolved: