roll up for filters

Roll table rows up.

Signature

> roll up --by

Parameters

  • --by {int}: Number of rows to roll

Input/output types:

inputoutput
tabletable

Examples

Rolls rows up

> [[a b]; [1 2] [3 4] [5 6]] | roll up
╭───┬───┬───╮
│ # │ a │ b │
├───┼───┼───┤
│ 034 │
│ 156 │
│ 212 │
╰───┴───┴───╯

Tips: Command roll up was not included in the official binaries by default, you have to build it with --features=extra flag