> For the complete documentation index, see [llms.txt](https://docs.abtasty.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.abtasty.com/server-side/command-line-interface/ab-tasty-cli-reference-v1xx/web-experimentation/web-experimentation-modification-code.md).

# modification-code

## abtasty-cli web-experimentation modification-code push

#### NAME

`abtasty-cli web-experimentation modification-code push` - Push modification code

#### SYNOPSIS

`abtasty-cli web-experimentation modification-code push [-i MODIFICATION_ID | --id MODIFICATION_ID] [--campaign-id CAMPAIGN_ID] [--selector SELECTOR] [--variation-id VARIATION_ID] [-c CODE | --code=CODE][--file FILE]`

#### DESCRIPTION

Push modification code

#### EXAMPLES

```shell
abtasty-cli web-experimentation modification-code push -i MODIFICATION_ID --campaign-id CAMPAIGN_ID --variation-id VARIATION_ID  --code CODE
```

#### REQUIRED FLAGS

`--id = _MODIFICATION_ID_`

The ID of the modification

`--campaign-id = _CAMPAIGN_ID_`

The ID of the campaign

`--variation-id = _VARIATION_ID_`

The ID of the variation

`--selector = _SELECTOR_`

The new selector to push in the modification

#### FLAGS

`--code = _CODE_`

The new code to push into the modification

`--file = _FILE_`

The file that contains new code to push in the modification

***

## abtasty-cli web-experimentation modification-code get

#### NAME

`abtasty-cli web-experimentation modification-code get` - Get modification code

#### SYNOPSIS

`abtasty-cli web-experimentation modification-code get [--output-format = OUTPUT_FORMAT [table|json|json-pretty]]`

#### DESCRIPTION

Get modification code

#### EXAMPLES

```shell
abtasty-cli web-experimentation modification-code get -i MODIFICATION_ID --campaign-id CAMPAIGN_ID
```

#### REQUIRED FLAGS

`--id = _MODIFICATION_ID_`

The ID of the modification you want to display

`--campaign-id = _CAMPAIGN_ID_`

The ID of the campaign

#### 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.

`--create-file = _CREATE_FILE_`

Create a file that contains the modification code extracted

`--override = _OVERRIDE_`

Override existing modification code file


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.abtasty.com/server-side/command-line-interface/ab-tasty-cli-reference-v1xx/web-experimentation/web-experimentation-modification-code.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
