2022-02-14 03:22:51 +01:00
|
|
|
---
|
|
|
|
title: wrap
|
|
|
|
layout: command
|
|
|
|
version: 0.59.0
|
|
|
|
---
|
2020-05-03 18:54:21 +02:00
|
|
|
|
2022-02-14 03:22:51 +01:00
|
|
|
Wrap the value into a column.
|
2020-05-03 18:54:21 +02:00
|
|
|
|
2022-02-14 03:22:51 +01:00
|
|
|
## Signature
|
2020-05-03 18:54:21 +02:00
|
|
|
|
2022-02-14 03:22:51 +01:00
|
|
|
```> wrap (name)```
|
2020-05-03 18:54:21 +02:00
|
|
|
|
2022-02-14 03:22:51 +01:00
|
|
|
## Parameters
|
2020-05-03 18:54:21 +02:00
|
|
|
|
2022-02-14 03:22:51 +01:00
|
|
|
- `name`: the name of the column
|
2020-05-03 18:54:21 +02:00
|
|
|
|
2022-02-20 02:13:33 +01:00
|
|
|
## Examples
|
|
|
|
|
|
|
|
Wrap a list into a table with a given column name
|
|
|
|
```shell
|
|
|
|
> echo [1 2 3] | wrap num
|
|
|
|
```
|