forked from extern/nushell
Rename the now-deprecated add
command docs into insert
comm… (#1307)
This commit is contained in:
parent
6a39cd8546
commit
7df8fdfb28
@ -1,11 +1,11 @@
|
|||||||
# add
|
# insert
|
||||||
|
|
||||||
This command adds a column to any table output. The first parameter takes the heading, the second parameter takes the value for all the rows.
|
This command adds a column to any table output. The first parameter takes the heading, the second parameter takes the value for all the rows.
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
> ls | add is_on_a_computer yes_obviously
|
> ls | insert is_on_a_computer yes_obviously
|
||||||
━━━┯━━━━━━━━━━━━━━━━━━━━━━━━━━━━┯━━━━━━┯━━━━━━━━━━┯━━━━━━━━┯━━━━━━━━━━━┯━━━━━━━━━━━┯━━━━━━━━━━━━━━━━━━
|
━━━┯━━━━━━━━━━━━━━━━━━━━━━━━━━━━┯━━━━━━┯━━━━━━━━━━┯━━━━━━━━┯━━━━━━━━━━━┯━━━━━━━━━━━┯━━━━━━━━━━━━━━━━━━
|
||||||
# │ name │ type │ readonly │ size │ accessed │ modified │ is_on_a_computer
|
# │ name │ type │ readonly │ size │ accessed │ modified │ is_on_a_computer
|
||||||
───┼────────────────────────────┼──────┼──────────┼────────┼───────────┼───────────┼──────────────────
|
───┼────────────────────────────┼──────┼──────────┼────────┼───────────┼───────────┼──────────────────
|
||||||
@ -18,7 +18,7 @@ This command adds a column to any table output. The first parameter takes the he
|
|||||||
```
|
```
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
> shells | add os linux_on_this_machine
|
> shells | insert os linux_on_this_machine
|
||||||
━━━┯━━━┯━━━━━━━━━━━━┯━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┯━━━━━━━━━━━━━━━━━━━━━━━
|
━━━┯━━━┯━━━━━━━━━━━━┯━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┯━━━━━━━━━━━━━━━━━━━━━━━
|
||||||
# │ │ name │ path │ os
|
# │ │ name │ path │ os
|
||||||
───┼───┼────────────┼────────────────────────────────┼───────────────────────
|
───┼───┼────────────┼────────────────────────────────┼───────────────────────
|
Loading…
Reference in New Issue
Block a user