# Create Task Definition

Create a new task definition

#### Usage

```bash
otcli network create-task-definition [options]
```

#### Options

<mark style="color:blue;">**--l1-chain**</mark> `required`                                                                                                                           &#x20;

**string**

The name of the L1 chain where the AVS contracts will be deployed.

***

<mark style="color:blue;">**--l2-chain**</mark> `required`                                                                                                                           &#x20;

**string**

Comma-separated list of L2 chain names for deployment (e.g., `base-sepolia,amoy`).

***

<mark style="color:blue;">**--browser-sign**</mark>  `optional`                                                                                                                &#x20;

**flag**

Allows signing using wallets like **MetaMask**, **SAFE**, or other browser-based smart accounts. Ideal for multisig operations and smart contract wallets, especially when users prefer **not to expose private keys directly in the CLI**.

***

<mark style="color:blue;">**--keystore**</mark> `optional`                                                                                                                        &#x20;

**file path**

The path to the keystore file used for signing the transaction.

***

<mark style="color:blue;">**--keystore-password**</mark> `optional`                                                                                                    &#x20;

**file path**

The path to the file containing the keystore password.

***

<mark style="color:blue;">**--silent, --s, --no-prompt**</mark> `optional`                                                                                                   &#x20;

**flag**

Run in non-interactive mode using `.env` and provided arguments, without user prompts.

***

<mark style="color:blue;">**-h, --help**</mark>  `optional`                                                                                                                                    &#x20;

**flag**

Display help information for this command.
