The Nitrile CLI¶
With Nitrile installed you can start using the CLI to build, test, package, and publish applications and libraries. These pages document the command line interface.
nitrile is invoked with a subcommand, for example:
$ nitrile build
Some subcommands have additional options. These may only appear after the subcommand.
$ nitrile --global-option-1 build --global-option-2 --build-option
The CLI has the following subcommands:
build: runs the build steps for the current package.
env: outputs a shell or PowerShell script to set some environment variables with which you can run
clmfrom the command line.
fetch: fetches dependencies of the current package.
generate-tags: generates a ctags file for use in an editor.
global: allows to manage global (cross-project) packages.
help: shows help on a specific subcommand.
init: creates a new package in the current directory.
package: packages the current package.
publish: publishes the current package to the registry.
run: runs executables from local or global packages.
terms: prints the full legal terms of the program.
test: runs the tests for the current package.
update: updates the local copy of the registry.