variation

Manage your variations

abtasty-cli feature-experimentation variation create

NAME

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

SYNOPSIS

abtasty-cli feature-experimentation variation create [--campaign-id = CAMPAIGN_ID] [--variation-group-id = VARIATION_GROUP_ID] [-d DATA_RAW | --data-raw = DATA_RAW]

DESCRIPTION

    Create a variation in your variation group

EXAMPLES

abtasty-cli feature-experimentation variation create --campaign-id CAMPAIGN_ID --variation-group-id VARIATION_GROUP_ID -d DATA_RAW
abtasty-cli feature-experimentation variation create --campaign-id CAMPAIGN_ID --variation-group-id VARIATION_GROUP_ID -d "{\"name\":\"Variation 1\",\"reference\":false,\"allocation\":95,\"modifications\":{\"type\":\"FLAG\",\"value\":{\"myColor\":\"blue\"}}}"

REQUIRED FLAGS

--campaign-id = _CAMPAIGN_ID_

    The campaign id of your variation

--variation-group-id = _VARIATION_GROUP_ID_

    the variation group id of your variation

--data-raw = _DATA_RAW_

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

❗️

Raw data format

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


abtasty-cli feature-experimentation variation list

NAME

abtasty-cli feature-experimentation variation list - List all variations

SYNOPSIS

abtasty-cli feature-experimentation variation list [--campaign-id = CAMPAIGN_ID] [--variation-group-id = VARIATION_GROUP_ID] \[--output-format = OUTPUT_FORMAT [table|json|json-pretty]]

DESCRIPTION

    List all variations in your variation group

EXAMPLES

abtasty-cli feature-experimentation variation list --campaign-id CAMPAIGN_ID --variation-group-id VARIATION_GROUP_ID

REQUIRED FLAGS

--campaign-id = _CAMPAIGN_ID_

    The campaign id of your variation

--variation-group-id = _VARIATION_GROUP_ID_

    the variation group id of your variation

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.


flagship variation get

NAME

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

SYNOPSIS

abtasty-cli feature-experimentation variation get [--campaign-id = CAMPAIGN_ID] [--variation-group-id = VARIATION_GROUP_ID] [-i VARIATION_ID | --id = VARIATION_ID]

DESCRIPTION

    Get a variation in your variation group

EXAMPLES

abtasty-cli feature-experimentation variation get --campaign-id CAMPAIGN_ID --variation-group-id VARIATION_GROUP_ID -i VARIATION_ID

REQUIRED FLAGS

--campaign-id = _CAMPAIGN_ID_

    The campaign id of your variation

--variation-group-id = _VARIATION_GROUP_ID_

    the variation group id of your variation

`--id = VARIATION_ID

    The id of the variation 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 variation edit

NAME

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

SYNOPSIS

abtasty-cli feature-experimentation variation edit [--campaign-id = CAMPAIGN_ID] [--variation-group-id = VARIATION_GROUP_ID] [-i VARIATION_ID | --id = VARIATION_ID] [-d DATA_RAW | --data-raw = DATA_RAW]

DESCRIPTION

    Edit a variation in your variation group

EXAMPLES

abtasty-cli feature-experimentation variation edit --campaign-id CAMPAIGN_ID --variation-group-id VARIATION_GROUP_ID -i VARIATION_ID -d DATA_RAW

REQUIRED FLAGS

--campaign-id = _CAMPAIGN_ID_

    The campaign id of your variation

--variation-group-id = _VARIATION_GROUP_ID_

    the variation group id of your variation

--id = _VARIATION_ID_

    The id of the variation you want to edit

--data-raw = _DATA_RAW_

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

❗️

Raw data format

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


abtasty-cli feature-experimentation variation delete

NAME

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

SYNOPSIS

abtasty-cli feature-experimentation variation-group delete [--campaign-id = CAMPAIGN_ID] [--variation-group-id = VARIATION_GROUP_ID] [-i VARIATION_ID | --id = VARIATION_ID]

DESCRIPTION

    Delete a variation in your variation group

EXAMPLES

abtasty-cli feature-experimentation variation delete --campaign-id CAMPAIGN_ID --variation-group-id VARIATION_GROUP_ID -i VARIATION_ID

REQUIRED FLAGS

--campaign-id = _CAMPAIGN_ID_

    The campaign id of your variation

--variation-group-id = _VARIATION_GROUP_ID_

    the variation group id of your variation

--id = _VARIATION_ID_

    The id of the variation you want to delete