Skip to content

Command Line ​

The Semaphore Command Line is a CLI tool to interact with Semaphore in your terminal.

It offers a variety of commands to interact with Semaphore, for now the supported commands are:

  • evaluate to evaluate feature flags directly in your terminal
  • lint to validate a configuration file format.
  • generate to generate the OpenFeature flag manifest for OpenFeature cli (experimental).

Install the Command Line ​

After the first release (see Releasing), download semaphore-cli_<version>_<Os>_<arch>.tar.gz (.zip on Windows) from the GitHub Releases, or use the image ghcr.io/blackbirdworks/semaphore-cli:v<version> (its entrypoint is /semaphore-cli; semaphore-cli --version prints the version).

Build the Command Line ​

shell
make build-cli   # binary: out/bin/semaphore-cli

The docs below call the binary semaphore-cli; use out/bin/semaphore-cli in the examples.

Released under the MIT License.