Uploaded image for project: 'MongoDB Shell'
  1. MongoDB Shell
  2. MONGOSH-1338

Support "clear" command to help with developers' "muscle memory"

    • Type: Icon: New Feature New Feature
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Shell API
    • None
    • 2

      In mongosh (and mongo) the standard command to clear the shell screen is cls. However, people are often using mongosh inside the OS's terminal, whereas on non-Windows OSes the command to clear the screen is typically clear. Can we please add clear as a new alias command for cls in mongosh so developers don't have to think too hard about what context they are in when wanting to clear the screen?

            Assignee:
            Unassigned Unassigned
            Reporter:
            paul.done@mongodb.com Paul Done
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: