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