> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ntop.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Export Slices to CLI

## About this Block

The Export Slices to CLI block exports slice data as a CLI (Common Layer Interface) file. The CLI file can be exported as ASCII or Binary format.

## Example File

Download Example: [Export Slices to CLI](https://storage.googleapis.com/files-learn/static/ExtendedBlockDocs/ExportSlicestoCLI.ntop)

*This file exports a slice stack as a CLI.*

![Export Slices to CLI](https://storage.googleapis.com/files-learn/static/ExtendedBlockDocs/ExportSlicestoCLI.png)

***

Export slice stack data to an ASCII or binary CLI file.

### Inputs

| Name | Type | Description |
| - | - | - |
| Path | [Path](../../../../block-documentation/types/path) | Path to export the CLI file to. |
| Slice stack | [Slice Stack](../../../../block-documentation/types/slice-stack) | Slice stack to generate the CLI file from. |
| Export format | Ascii or Binary Enum | Ascii or binary export format. |

### Outputs

| Type |
| - |
| [CLI slice data](../../../../block-documentation/types/cli-slice-data) |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.