mirror of
https://github.com/nushell/nushell.git
synced 2024-12-22 15:13:01 +01:00
Finish rename
This commit is contained in:
parent
05dc715876
commit
3715da9328
@ -21,7 +21,7 @@ At the moment, executing a command that isn't identified as a built-in new comma
|
||||
| ------------- | ------------- |
|
||||
| pick ...columns | Down-select table to only these columns |
|
||||
| reject ...columns | Remove the given columns from the table |
|
||||
| select column-or-column-path | Open given cells as text |
|
||||
| get column-or-column-path | Open given cells as text |
|
||||
| sort-by ...columns | Sort by the given columns |
|
||||
| where condition | Filter table to match the condition |
|
||||
| skip amount | Skip a number of rows |
|
||||
@ -159,7 +159,7 @@ Some file types can be loaded as tables.
|
||||
[object Object] [object Object] [object Object]
|
||||
----------------------------------------------------
|
||||
|
||||
~\Code\nushell> open Cargo.toml | select package
|
||||
~\Code\nushell> open Cargo.toml | get package
|
||||
--------------------------------------------------------------------------
|
||||
authors description edition license name version
|
||||
--------------------------------------------------------------------------
|
||||
@ -170,7 +170,7 @@ Some file types can be loaded as tables.
|
||||
Once you've found the data, you can call out to external applications and use it.
|
||||
|
||||
```text
|
||||
~\Code\nushell> open Cargo.toml | select package.version | echo $it
|
||||
~\Code\nushell> open Cargo.toml | get package.version | echo $it
|
||||
0.1.1
|
||||
```
|
||||
|
||||
|
@ -1,3 +1,3 @@
|
||||
cd tests
|
||||
open test.json | to-json | from-json | select glossary.GlossDiv.title | echo $it
|
||||
open test.json | to-json | from-json | get glossary.GlossDiv.title | echo $it
|
||||
exit
|
||||
|
@ -1,3 +1,3 @@
|
||||
cd tests
|
||||
open test.json | select glossary.GlossDiv.GlossList.GlossEntry.GlossSee | echo $it
|
||||
open test.json | get glossary.GlossDiv.GlossList.GlossEntry.GlossSee | echo $it
|
||||
exit
|
||||
|
@ -1,3 +1,3 @@
|
||||
cd tests
|
||||
open test.toml | select package.edition | echo $it
|
||||
open test.toml | get package.edition | echo $it
|
||||
exit
|
||||
|
@ -1,3 +1,3 @@
|
||||
cd tests
|
||||
open test.toml --raw | split-row "\n" | skip 1 | first 4 | split-column "=" | sort-by Column1 | skip 1 | first 1 | select Column1 | trim | echo $it
|
||||
open test.toml --raw | split-row "\n" | skip 1 | first 4 | split-column "=" | sort-by Column1 | skip 1 | first 1 | get Column1 | trim | echo $it
|
||||
exit
|
||||
|
@ -1,3 +1,3 @@
|
||||
cd tests
|
||||
open test.toml --raw | split-row "\n" | skip 1 | first 1 | split-column "=" | select Column1 | trim | echo $it
|
||||
open test.toml --raw | split-row "\n" | skip 1 | first 1 | split-column "=" | get Column1 | trim | echo $it
|
||||
exit
|
||||
|
@ -1,3 +1,3 @@
|
||||
cd tests
|
||||
open test.toml | to-toml | from-toml | select package.name | echo $it
|
||||
open test.toml | to-toml | from-toml | get package.name | echo $it
|
||||
exit
|
||||
|
Loading…
Reference in New Issue
Block a user