forked from extern/nushell
8c0a2d3c15
* Finish updating * a couple improvements * Update renames * cleanup examples
769 B
769 B
title | layout | version |
---|---|---|
move | command | 0.59.0 |
Move columns before or after other columns
Signature
> move ...columns --after --before
Parameters
...columns
: the columns to move--after {string}
: the column that will precede the columns moved--before {string}
: the column that will be the next after the columns moved
Examples
Move a column before the first column
> [[name value index]; [foo a 1] [bar b 2] [baz c 3]] | move index --before name
Move multiple columns after the last column and reorder them
> [[name value index]; [foo a 1] [bar b 2] [baz c 3]] | move value name --after index
Move columns of a record
> { name: foo, value: a, index: 1 } | move name --before index