Plugins provide a lot of Stencila's functionality. This demo shows you how to use the Stencila CLI to install, upgrade, and uninstall them.
Run this demo
The above recording was automatically generated from the following Markdown. Copy the code blocks to run the demo yourself.
list subcommand to get a list of available and/or installed plugins,
The first column is the alias of the plugin (or it's name if it has no alias). If the other columns are all empty it means that you haven't yet refreshed the local plugin registry. Let's do that and list them again,
Now, you should have information in the other columns such as the latest version, a description and how long ago it was refreshed.
To get more details on a specific plugin, use the
show subcommand e.g.,
To install a plugin, just pass its alias or name to the
Or, if you want to install a specific version
Or, use a specific installation method (if available),
Upgrade one or more plugins to their latest versions using,
Or, to upgrade all installed plugins,
uninstall subcommand to remove a plugin e.g.
If you are developing a plugin, it can be useful to link to its local working directory e.g.
When you no longer need the link, use
Now you know how to install and manage plugins, check out some of the other demos for what you can do with them!