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.
Usage¶
In general, nitrile
is invoked with a subcommand, for example:
$ nitrile build
There are global options, which may appear both before and after the subcommand. For some global options a default can be set in a global settings file.
Some subcommands have additional options. These may only appear after the subcommand.
For example:
$ nitrile --global-option-1 build --global-option-2 --build-option
Subcommands¶
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 runclm
from 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.