from ics

For formats.

Parse text as .ics and create table.

warning This command requires a plugin The from ics command resides in the formats plugin. To use this command, you must install and register nu_plugin_formats. See the Plugins chapter in the book for more information.

Command Type

plugin

Signature

> from ics {flags}

Input/output types:

input output
string table

Examples

Converts ics formatted string to table

> 'BEGIN:VCALENDAR
END:VCALENDAR' | from ics
╭───┬────────────────┬────────────────┬────────────────┬────────────────┬────────────────┬────────────┬──────╮
│ # │   properties   │     events     │     alarms     │     to-Dos     │    journals    │ free-busys │ time │
│   │                │                │                │                │                │            │ zone │
│   │                │                │                │                │                │            │ s    │
├───┼────────────────┼────────────────┼────────────────┼────────────────┼────────────────┼────────────┼──────┤
│ 0 │ [list 0 items] │ [list 0 items] │ [list 0 items] │ [list 0 items] │ [list 0 items] │ [list 0    │ [lis │
│   │                │                │                │                │                │ items]     │ t 0  │
│   │                │                │                │                │                │            │ item │
│   │                │                │                │                │                │            │ s]   │
╰───┴────────────────┴────────────────┴────────────────┴────────────────┴────────────────┴────────────┴──────╯

Ported from nushell/nushell.github.io. Copyright (c) 2021 Nushell Project. MIT License.