Home Explore Blog CI



nushell

3rd chunk of `blog/2020-03-31-nushell_0_12_0.md`
799168c6bda389a112de466e5d528f174b71db42fcf0b6850000000100000da5
────┼─────────────────────────────────────────────────────┼──────┼──────────┼──────────────
  0 │ .azure                                              │ Dir  │          │ 2 weeks ago
  1 │ .cargo                                              │ Dir  │          │ 2 weeks ago
  2 │ .circleci                                           │ Dir  │          │ 2 weeks ago
...
```

With 0.12.0, you can now show hidden files when listing directory contents with `ls`.

## `from-ics` and `from-vcf` (pulpdrew)

The file support continues to improve, as we add support for vCard and iCal file formats.

## `to-md` and `to-html` (sophiajt)

```
❯ ls | to-md
|name|type|size|modified|
|-|-|-|-|
|CODE_OF_CONDUCT.md|File|3.4 KB|5 months ago|
|Cargo.lock|File|104.5 KB|21 mins ago|
```

You can now output to markdown and html using the new converters.

## `headers` (samhedin)

```
❯ open tests/fixtures/formats/sample_data.ods | get SalesOrders
────┬────────────┬─────────┬──────────┬─────────┬─────────┬───────────┬───────────
 #  │  Column0   │ Column1 │ Column2  │ Column3 │ Column4 │  Column5  │  Column6
────┼────────────┼─────────┼──────────┼─────────┼─────────┼───────────┼───────────
  0 │ OrderDate  │ Region  │ Rep      │ Item    │ Units   │ Unit Cost │ Total
  1 │ 2018-01-06 │ East    │ Jones    │ Pencil  │ 95.0000 │    1.9900 │  189.0500

❯ open tests/fixtures/formats/sample_data.ods | get SalesOrders | headers
────┬────────────┬─────────┬──────────┬─────────┬─────────┬───────────┬───────────
 #  │ OrderDate  │ Region  │   Rep    │  Item   │  Units  │ Unit Cost │   Total
────┼────────────┼─────────┼──────────┼─────────┼─────────┼───────────┼───────────
  0 │ 2018-01-06 │ East    │ Jones    │ Pencil  │ 95.0000 │    1.9900 │  189.0500
  1 │ 2018-01-23 │ Central │ Kivell   │ Binder  │ 50.0000 │   19.9900 │  999.4999
```

Sometimes when working with data, you've managed to read in columns of data and notice that the first row is the headers you want. Previously, this required a lot of twiddling to lift the row into being the header. With 0.12.0, this has become much simpler with the `header` command.

## `ps --full` mode (sophiajt)

We're extending the information you can get back from `ps`. You are now able to get the original commandline and more for each process using the new `ps --full`.

## `rm` can now take multiple arguments to remove multiple files at once (pulpdrew)

Sometimes we're missing a feature and you wonder how we made it that long :D. In this release, you can now pass multiple files to `rm` for deletion.

Title: Nushell 0.12.0: Additional Features and Improvements
Summary
Nushell 0.12.0 introduces several new features and improvements, including the ability to show hidden files with 'ls --all', support for vCard and iCal file formats ('from-ics' and 'from-vcf'), new converters to markdown and HTML ('to-md' and 'to-html'), a 'headers' command to easily set headers for data columns, extended information from 'ps --full', and the ability to remove multiple files at once with 'rm'.