[SERVER-15487] mongoshim should support command mode Created: 01/Oct/14 Updated: 25/Oct/14 Resolved: 06/Oct/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Tools |
| Affects Version/s: | 2.7.6 |
| Fix Version/s: | 2.7.8 |
| Type: | New Feature | Priority: | Minor - P4 |
| Reporter: | Benety Goh | Assignee: | Benety Goh |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Participants: | |||||
| Linked BF Score: | 0 | ||||
| Description |
|
Add a --mode=command to mongoshim. |
| Comments |
| Comment by Githook User [ 06/Oct/14 ] |
|
Author: {u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}Message: |
| Comment by Michael O'Brien [ 01/Oct/14 ] |
|
milkie the use case for this is so that the tools can run commands (listDatabases, listCollections, createIndex, etc) that are necessary for dump/restore/etc. without needing to rely on serializing the command into JSON and passing it as a command line argument to the shim, which is more brittle. |