# Get Command Line Option

## Overview

![The Get Command Line Option Node.](/files/rMlkOO31H1CGiybVVifr)

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**](/incari-studio/toolbox/overview.md#scopes): **Project**, **Scene**, **Function**.

## Attributes

![The Get Command Line Option Node Attributes.](/files/5qME0sPLS0rXOMD9cwG8)

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


---

# Agent Instructions: 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:

```
GET https://docs.incari.com/incari-studio/toolbox/utilities/get-command-line-option.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
