Make pretty() the default in the shell

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Trivial - P5
    • None
    • Affects Version/s: None
    • Component/s: Shell
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      It seems like pretty() should be the default in the shell. New users will not immediately know about this command. It will probably take them even longer to figure out that you can add the following to your $HOME/.mongorc.js file:

      DBQuery.prototype._prettyShell = true

      Perhaps you can add an _uglyShell or _compactShell field for people who prefer the compact mode :-^

              Assignee:
              DO NOT USE - Backlog - Platform Team
              Reporter:
              Ryan Nitz
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: