# Get Command Line Option

## Overview

![The Get Command Line Option Node.](https://1553081948-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU990HLHWA30dTfELtDUK%2Fuploads%2Fgit-blob-fa4726615c203c74d1684f0ef3d40996802e7e4f%2Fgetcommandlineoptionnode20241.png?alt=media)

The **Get Command Line Option** **Node** allows the user to obtain the command-line arguments, named options, that were given when the **Project** was initiated and then use them in the **Logic**.

[**Scope**](https://docs.incari.com/incari-studio/overview#scopes): **Project**, **Scene**, **Function**.

## Attributes

![The Get Command Line Option Node Attributes.](https://1553081948-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU990HLHWA30dTfELtDUK%2Fuploads%2Fgit-blob-ced7a4a81dd22ec22a016854822d6be0c74d235b%2Fnode-get-command-line-option2-attr.png?alt=media)

### Miscellaneous

| Attribute     | Type          | Description                                      |
| ------------- | ------------- | ------------------------------------------------ |
| `Option Type` | **Drop-Down** | The **Data Type** of the command-line arguments. |

### Option

| Attribute     | Type       | Description                                                                      |
| ------------- | ---------- | -------------------------------------------------------------------------------- |
| `Option Name` | **String** | Name given to the retrieved option, if none is received in the **Input Socket**. |

## Inputs

| Input             | Type       | Description                                                           |
| ----------------- | ---------- | --------------------------------------------------------------------- |
| *Pulse Input* (►) | **Pulse**  | A standard **Input Pulse**, to trigger the execution of the **Node**. |
| `Option Name`     | **String** | Name given to the retrieved option.                                   |

## Outputs

| Output             | Type                                           | Description                                                                                                                            |
| ------------------ | ---------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| *Pulse Output* (►) | **Pulse**                                      | A standard **Output Pulse**, to move onto the next **Node** along the **Logic Branch**, once this **Node** has finished its execution. |
| `Option Value`     | *Defined in the `Option Type`* ***Attribute*** | The value of the option given in the command-line.                                                                                     |
| `OnError` (►)      | **Pulse**                                      | A **Pulse** that will be triggered if there is an error in retrieving the arguments from the command-line.                             |
