nushell/docs/commands/metadata.md

28 lines
346 B
Markdown
Raw Normal View History

---
title: metadata
layout: command
version: 0.59.1
---
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
```