campaign

Manage your campaigns

abtasty-cli web-experimentation campaign create

NAME

abtasty-cli web-experimentation campaign create - Create a campaign

SYNOPSIS

abtasty-cli web-experimentation campaign create [-d DATA_RAW | --data-raw=DATA_RAW]

DESCRIPTION

    Create a campaign in your account

EXAMPLES

abtasty-cli web-experimentation campaign create -d DATA_RAW
abtasty-cli web-experimentation campaign create -d "{\"name\":\"name\",\"type\":\"ab\",\"url\":\"https://example.com\",\"description\":\"description\"}"

REQUIRED FLAGS

--data-raw = _DATA_RAW_

    The raw data contains all the info to create your campaign, check the Campaign schema for more details (Check also Shell - Example)

❗️

Raw data format

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


abtasty-cli web-experimentation campaign list

NAME

abtasty-cli web-experimentation campaign list - List all campaigns

SYNOPSIS

abtasty-cli web-experimentation campaign list [--output-format = OUTPUT_FORMAT [table|json|json-pretty]]

DESCRIPTION

    List all campaigns in your account

EXAMPLES

abtasty-cli web-experimentation campaign 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 web-experimentation campaign get

NAME

abtasty-cli web-experimentation campaign get - Get a campaign

SYNOPSIS

abtasty-cli web-experimentation campaign get [-i CAMPAIGN_ID | --id = CAMPAIGN_ID]

DESCRIPTION

    Get a campaign

EXAMPLES

abtasty-cli web-experimentation campaign get -i CAMPAIGN_ID

REQUIRED FLAGS

--id = _CAMPAIGN_ID_

    The id of the campaign 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 web-experimentation campaign edit

NAME

abtasty-cli web-experimentation campaign edit - Edit a campaign

SYNOPSIS

abtasty-cli web-experimentation campaign edit [-i CAMPAIGN_ID | --id = CAMPAIGN_ID] [-d DATA_RAW | --data-raw=DATA_RAW]

DESCRIPTION

    Edit a campaign in your project

EXAMPLES

abtasty-cli web-experimentation campaign edit -i CAMPAIGN_ID -d DATA_RAW

REQUIRED FLAGS

--id = _CAMPAIGN_ID_

    The id of the campaign you want to edit

--data-raw = _DATA_RAW_

    The raw data contains all the info to edit your campaign, check the Campaign schema for more details

❗️

Raw data format

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


abtasty-cli web-experimentation campaign delete

NAME

abtasty-cli web-experimentation campaign delete - Delete a campaign

SYNOPSIS

abtasty-cli web-experimentation campaign delete [-i CAMPAIGN_ID | --id = CAMPAIGN_ID]

DESCRIPTION

    Delete a campaign

EXAMPLES

abtasty-cli web-experimentation campaign delete -i CAMPAIGN_ID

REQUIRED FLAGS

--id = _CAMPAIGN_ID_

    The id of the campaign you want to delete


abtasty-cli web-experimentation campaign switch

NAME

abtasty-cli web-experimentation campaign switch - Switch a campaign status

SYNOPSIS

abtasty-cli web-experimentation campaign switch [-i CAMPAIGN_ID | --id = CAMPAIGN_ID] [-s STATUS | --status = STATUS [active, paused]]

DESCRIPTION

    Switch a campaign status in your project

EXAMPLES

abtasty-cli web-experimentation campaign switch -i CAMPAIGN_ID -s STATUS

REQUIRED FLAGS

--id = _CAMPAIGN_ID_

    The id of the campaign you want to change status

--status = _STATUS_

    The status you want to set to the campaign. Only 2 values are possible: active and paused