mirror of
https://github.com/nushell/nushell.git
synced 2024-12-27 01:19:25 +01:00
8c0a2d3c15
* Finish updating * a couple improvements * Update renames * cleanup examples
37 lines
518 B
Markdown
37 lines
518 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
|
|
```
|
|
|