1.0.6 • Published 8 years ago
faircode v1.0.6
Faircode CLI
Faircode helps companies keep track of and pay for the software they use. The faircode command line tool searches your repository for installed packages (node_modules) and lists the ones with Faircode IDs associated with them.
To install:
npm install -g faircodeThen to list all locally installed packages with Faircode IDs:
faircode listWe recommend running faircode register-build after each build of your package (for instance on CI). This automatically updates your software subscriptions on Faircode (removing old ones, adding new ones), to make sure you're always in sync.
You can list available commands with
faircode --helpTo add a Faircode ID to your own project, first register at faircode.io, then update your package.json:
{
"faircodeId": "YOUR_ID"
}