Extensions

Extensions allow the openfare tool to interact with package registries and ecosystems. For example, the openfare-js extension allows openfare to find lock files within npmjs.com packages.

Official extensions

NameEcosystemPackage Registries
openfare-jsJavascriptnpmjs.com

Add extension

The openfare-js extension is included with openfare out of the box. Other extensions can be added using the command:

openfare extensions add <repository_url_or_name>

Examples

Add via repository URL:

openfare extensions add https://github.com/openfare/openfare-py

Add via extension name:

openfare extensions add py

openfare will search for the latest extension release at address:

https://github.com/openfare/openfare-{name}

Disable extension

Extensions can be disabled without deletion (config file retained) using the command:

openfare extensions disable py

Enable extension

Disabled extensions can be enabled using the command:

openfare extensions enable py

Removing extension

Extensions can be disabled and deleted using the command:

openfare extensions remove py