---
title: CLI Task
slug: singleconnect-reference-guide-3-1-0/cli-task
description: Learn about the structure and properties of a CLI Task, a command that can be executed in a script designer. Discover the two property tabs - Input/Output and CLI Task - which encompass Input Parameters, Output Parameters, CLI Device, and Command Set. Fin
docTags: 
createdAt: 2022-08-02T15:37:03.000Z
---

A CLI Task can be run as a command defined in the script designer. A CLI Task has two property tabs: th&#x65;**&#x20;Input/Output** tab includes **Input Parameters** and **Output Parameters**, and the **CLI Task** tab includes **CLI Device** and **Command Set**.

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/KwtKWZZetBt1A6plkydIO_image.png "CLI Task")

The device is selected in the device manager in Single Connect. The command set defined in the script designer is selected. A list of compatible vendor type scripts can be found in the Command Set drop-down menu.

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/1w7ZyS8w_R8yKHeHU7Rwe_image.png "CLI Properties")

For example, after a workflow is created for a CLI Task, select one of the devices that was already defined in the device manager. Then, select the command set to be executed.&#x20;

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/-M53iqO1HARyO-ns4B1KZ_image.png "CLI Task")

The CLI Task has an output parameter for the first script. This output is defined in the design script template. Defined outputs appear in the input/output tab. The result of this command will be assigned to the list output variable.

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/jBPnVMy6CLn3nVtP3lCh7_image.png "Input/Output Parameters")

There is an input parameter for the second script.  This input is defined in the design script template. Defined inputs appear in the input/output tab, which takes the input value from the output of the previous command. It is important that the output and input names are the same.

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/yDWu-pu24DUeU5E4I3nlR_image.png "Input/Output Parameters")

