Introduction
This page overviews the AB Tasty CLI and its command patterns and capabilities.
What does the CLI can offer?
The AB Tasty CLI is a set of commands to create and manage your AB Tasty resources for feature experimentation and web experimentation products such as projects, campaigns, teams, etc... You can use these commands to perform common AB Tasty platform actions from your terminal or through scripts and other automation.
Our CLI is built on top of our Remote Control API, enabling you to use direct API calls or use the CLI.
For example, you can use the AB Tasty CLI to manage :
- Feature experimentation:
- Projects, campaigns, flags, targeting keys, goals, etc...
- Users and environments
- Panic mode
- Web experimentation:
- campaigns, variations, accounts, elementJS, etc...
- Pull & Push global codes (account, campaign, variation, elementJS)
Download and install the AB Tasty CLI
The AB Tasty CLI can be installed and deployed in your infrastructure by downloading and running the binary or pulling and running the docker image in your orchestration system.
Using wget
wget -qO- https://raw.githubusercontent.com/flagship-io/abtasty-cli/main/install.sh | bash
Using cURL
curl -sL https://raw.githubusercontent.com/flagship-io/abtasty-cli/main/install.sh | bash
Using Homebrew
brew tap flagship-io/abtasty-cli
brew install abtasty-cli
Using a binary
You can download the latest binary here: <https://github.com/flagship-io/abtasty-cli/releases>
Using Golang
You can pull the project from github and build it using golang latest stable version (+1.18):
git clone [email protected]:flagship-io/abtasty-cli.git
cd abtasty-cli
go build .
The AB Tasty CLI cheat sheet
For an introduction to the AB Tasty CLI, a list of commonly used commands, and how these commands are structured, see the AB Tasty CLI cheat sheet.
Command readable output
By default, the AB Tasty CLI command returns a simple output.
Use the --output-format or -f option to produce a tabulated or flattened version of your output (for interactive display).
We provide a machine-readable version of the output :
- JSON
- pretty-json
- table
Updated 2 months ago