mirror of
https://github.com/nushell/nushell.git
synced 2025-01-12 09:18:56 +01:00
28 lines
346 B
Markdown
28 lines
346 B
Markdown
---
|
|
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
|
|
```
|