flag

Manage your flags

abtasty-cli feature-experimentation flag create

NAME

abtasty-cli feature-experimentation flag create - Create a flag

SYNOPSIS

abtasty-cli feature-experimentation flag create \[--name NAME --type TYPE --default-value DEFAULT_VALUE --description DESCRIPTION --predefined-values PREDEFINED_VALUES | [-d DATA_RAW | --data-raw = DATA_RAW]]

DESCRIPTION

    Create a flag in your account

EXAMPLES

abtasty-cli feature-experimentation flag create -d DATA_RAW
abtasty-cli feature-experimentation flag create -d "{\"name\":\"CLI_flag\",\"type\":\"string\",\"source\":\"manual\",\"description\":\"Flag created with the Flagship CLI\",\"default_value\":\"DEFAULT_VALUE\",\"predefined_values\":[\"Value_1\",\"Value_2\"]}"
abtasty-cli feature-experimentation flag create --name "CLI_flag" --type "string" --description "Flag created with the Flagship CLI" --default-value "DEFAULT_VALUE" --predefined-values "[\"Value_1\",\"Value_2\"]"

FLAGS

--name = _NAME_

Name of the flag

--type = _TYPE_

Type of the flag

--description = _DESCRIPTION_

Description of the flag

--default-value = _DEFAULT_VALUE_

Default value of the flag

--predefined-values = _PREDEFINED_VALUES_

Predefined valued for the flag

🚧

--data-raw flag has priority over the others flags (--name, --type etc...)

If you insert --data-raw with the other flags (--name, --type etc...) the data inside --data-raw will override the others.

--data-raw = _DATA_RAW_

    The raw data contains all the info to create your flag, check the Remote Control documentation for more details

❗️

Raw data format

Note that you should insert data without spaces, line breaks, tabulation etc...


abtasty-cli feature-experimentation flag list

NAME

abtasty-cli feature-experimentation flag list - List all flags

SYNOPSIS

abtasty-cli feature-experimentation flag list [--output-format = OUTPUT_FORMAT [table|json|json-pretty]]

DESCRIPTION

    List all flags in your account

EXAMPLES

abtasty-cli feature-experimentation flag list

FLAGS

--output-format = _OUTPUT_FORMAT_

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


abtasty-cli feature-experimentation flag get

NAME

abtasty-cli feature-experimentation flag get - Get a flag

SYNOPSIS

abtasty-cli feature-experimentation flag get [-i FLAG_ID | --id = FLAG_ID]

DESCRIPTION

    Get a flag in your account

EXAMPLES

abtasty-cli feature-experimentation flag get -i FLAG_ID

REQUIRED FLAGS

--id = _FLAG_ID_

    The id of the flag you want to display

FLAGS

--output-format _OUTPUT_FORMAT_

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


abtasty-cli feature-experimentation flag edit

NAME

abtasty-cli feature-experimentation flag edit - Edit a flag

SYNOPSIS

abtasty-cli feature-experimentation flag edit [-i FLAG_ID | --id = FLAG_ID] [-d DATA_RAW | --data-raw = DATA_RAW]

DESCRIPTION

    Edit a flag in your account

EXAMPLES

abtasty-cli feature-experimentation flag edit -i FLAG_ID -d DATA_RAW

REQUIRED FLAGS

--id = _FLAG_ID_

    The id of the flag you want to edit

--data-raw = _DATA_RAW_

    The raw data contains all the info to edit your flag, check the Remote Control documentation for more details

❗️

Raw data format

Note that you should insert data without spaces, line breaks, tabulation etc...


abtasty-cli feature-experimentation flag delete

NAME

abtasty-cli feature-experimentation flag delete - Delete a flag

SYNOPSIS

abtasty-cli feature-experimentation flag delete [-i FLAG_ID | --id = FLAG_ID]

DESCRIPTION

    Delete a flag in your account

EXAMPLES

abtasty-cli feature-experimentation flag delete -i FLAG_ID

REQUIRED FLAGS

--id = _FLAG_ID_

    The id of the flag you want to delete