nushell/docs/commands/from_eml.md
Justin Ma c0a1d18e3d
update #4455, regenerate commands' docs and update make_docs script (#4586)
* feat: update #4455, regenerate commands' docs

* chore: update make_docs script
2022-02-21 11:26:00 -06:00

36 lines
517 B
Markdown

---
title: from eml
layout: command
version: 0.59.0
---
Parse text as .eml and create table.
## Signature
```> from eml --preview-body```
## Parameters
- `--preview-body {int}`: How many bytes of the body to preview
## Examples
Convert eml structured data into table
```shell
> 'From: test@email.com
Subject: Welcome
To: someone@somewhere.com
Test' | from eml
```
Convert eml structured data into table
```shell
> 'From: test@email.com
Subject: Welcome
To: someone@somewhere.com
Test' | from eml -b 1
```