Snippet Commands
On this page
Warning
This feature is experimental. MongoDB does not provide support for Snippets. This feature may be changed or removed at any time without prior notice.
Bugs are not expected, however should you encounter one, please open an issue in the GitHub repository for this project.
This document provides an overview of the commands that are available to work with snippets.
Commands
Command | Description | ||
---|---|---|---|
help | Show the help text or information about a specific snippet. See an example.
| ||
info | Show information about configured snippet repositories. See an example.
| ||
install | Install a new snippet. See an example.
| ||
ls | List name and version of installed snippets. See an example
| ||
load-all | Load all installed snippets into the current environment.
| ||
outdated | List snippets that have updated registry versions.
| ||
refresh | Clear and refresh the snippet metadata cache. See an example.
| ||
search | List available snippets, their version, and a brief description. See an example.
| ||
uninstall | Remove an installed snippet. See an example.
| ||
update | Get the latest versions of installed snippets
|