Basic plugin management
Installation
To install a plugin, use the –install flag:
nptool --install <plugin-name>
Where <plugin-name> is to be replaced by a valid plugin name. To install several plugins, use a list with comma separator (exemple here to install both pfad and must2 plugin):
nptool --install pfad,must2
Installation take care of dependencies and will install automatically needed plugins.
Update
To update a plugin to the latest version use the –update flag:
nptool --update <plugin-name>
Uninstall
To uninstall a plugin use the –uninstall flag:
nptool --uninstall <plugin-name>
Advance features
You can choose to install a plugin specifying a branch or revision number. The entire repository will be cloned, then the specified branch or commit is checked out.
nptool --install <plugin-name> --branch <branch-name>
or
nptool --install <plugin-name> --commit <commit-hash>