Reference V0.7.X

NAME

flagship - manage Flagship resources and developer workflow

SYNOPSIS

flagship COMMAND [--token = TOKEN, -t TOKEN] [--output-format = FORMAT, -f FORMAT] [--config = CONFIG_FILE, -c CONFIG_FILE] [--help, -h]

DESCRIPTION

The Flagship CLI manages manages authentication, developer workflow, and interactions with the Remote Control API.

For a quick introduction to the Flagship CLI, a list of commonly used commands, and a look at how these commands are structured, see the Flagship CLI cheat sheet.

GLOBAL FLAGS

--token = TOKEN

The CLI token is used to invoke all HTTP methods in the Remote Control API. Overrides the property set in the credentials.

--output-format = FORMAT

The output format for printing command output resources. The default is table for compatible table format, other is json. The supported formats are: json-pretty, table, json

--help

Display detailed help.

--config = CONFIG_FILE

The config file that contains the client id, client secret, account id and account environment id in order to generate the token, and also output format, token etc...

COMMANDS

🚧

Notice

Make sure you have the right scope in your client id, client secret and token, when you run any command related to flagship resources such as project, campaign, flag etc...

configure

    Set the credentials of your flagship account

authenticate

    Generate your access token

project

    Manage your projects

campaign

    Manage your campaigns

panic

    Manage panic mode

targeting-key

    Manage your targeting keys

flag

    Manage your flags

user

    Manage your users

variation

    Manage your variations

variation-group

    Manage your variation groups

token

    Manage your token

goal

    Manage your goals

analyze

    Analyze your codebase using the codebase analyzer

info

Show information related to the Flagship CLI

resource (Experimental)

Load your Flagship resource