snippets - easy way to save and re-run queries, shell commands and shell scripts.
there should be a good way to save off common tasks and replay them.
Implemented inside IntelliShell
-
Michael Wills commented
Thanks for MongoChef v2.0 which has keeping tabs open after running a command which gives us an option to save it at a later time and keep that particular bit of work isolated. Nice!
-
Michael Wills commented
Perhaps there can be a log of shell commands like the query history? Especially across sessions.
-
3T MongoChef 1.9.1 allows loading and saving of snippets within the shell command window.
-
Hi Bob!
Thanky you for your feedback! We'll make it easier to load snippets and scripts into the shell in one of the upcoming releases. As of today you could use the "load" function to load JS scripts manually:
load("~/scripts/demo.js")
will load the demo.js into the current shell session.