forked from extern/nushell
8c0a2d3c15
* Finish updating * a couple improvements * Update renames * cleanup examples
29 lines
347 B
Markdown
29 lines
347 B
Markdown
---
|
|
title: metadata
|
|
layout: command
|
|
version: 0.59.0
|
|
---
|
|
|
|
Get the metadata for items in the stream
|
|
|
|
## Signature
|
|
|
|
```> metadata (expression)```
|
|
|
|
## Parameters
|
|
|
|
- `expression`: the expression you want metadata for
|
|
|
|
## Examples
|
|
|
|
Get the metadata of a variable
|
|
```shell
|
|
> metadata $a
|
|
```
|
|
|
|
Get the metadata of the input
|
|
```shell
|
|
> ls | metadata
|
|
```
|
|
|