[SERVER-14677] Make pretty() the default in the shell Created: 25/Jul/14  Updated: 07/Apr/23

Status: Backlog
Project: Core Server
Component/s: Shell
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Trivial - P5
Reporter: Ryan Nitz Assignee: DO NOT USE - Backlog - Platform Team
Resolution: Unresolved Votes: 0
Labels: move-sa, sp-shell
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 Description   

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 :-^



 Comments   
Comment by Steven Vannelli [ 10/May/22 ]

Moving this ticket to the Backlog and removing the "Backlog" fixVersion as per our latest policy for using fixVersions.

Generated at Thu Feb 08 03:35:37 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.