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:
evaluateto evaluate feature flags directly in your terminallintto validate a configuration file format.generateto 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-cliThe docs below call the binary semaphore-cli; use out/bin/semaphore-cli in the examples.