nushell/docs/commands/metadata.md

346 B

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

> metadata $a

Get the metadata of the input

> ls | metadata