jouet plugin add
- Usage:
jouet plugin add [FLAGS] <SOURCE>
Fetch a plugin, run its rules' examples and pin it
SOURCE is a git URL, or a directory. A git plugin is pinned at the full commit --rev names (default: the remote's HEAD), and git rev-parse checks the commit fetched is that one. A directory is copied and pinned by the hash of its files; give --rev to fetch it as a git repository. Its name is the one its jouet-plugin.toml gives. Every rule must pass its examples of both kinds, or nothing is pinned (exit 1). Like trusting, it needs a terminal or --yes, and an agent is denied it.
Arguments
<SOURCE>— A git URL, or a directory
Flags
--rev <REV>— The commit, tag or branch to pin, resolved to a full commit--dir <DIR>— The plugin's directory within the source, when it is not the root--repo— Pin it in this repository's .jouet/plugins.toml rather than yours--yes— Pin it without a terminal, for a script or CI run by the user-h --help— Print help