mirror of
https://github.com/nushell/nushell.git
synced 2025-08-18 16:58:51 +02:00
First pass at updating all documentation formatting and cleaning up output of examples (#2031)
This commit is contained in:
@@ -7,10 +7,10 @@ This command creates a new shell and begin at this path.
|
||||
```shell
|
||||
/home/foobar> cat user.json
|
||||
{
|
||||
"Name": "Peter",
|
||||
"Age": 30,
|
||||
"Telephone": 88204828,
|
||||
"Country": "Singapore"
|
||||
"Name": "Peter",
|
||||
"Age": 30,
|
||||
"Telephone": 88204828,
|
||||
"Country": "Singapore"
|
||||
}
|
||||
/home/foobar> enter user.json
|
||||
/> ls
|
||||
@@ -40,7 +40,7 @@ It also provides the ability to work with multiple directories at the same time.
|
||||
|
||||
## Note
|
||||
|
||||
If you `enter` a JSON file with multiple a top-level list, this will open one new shell for each list element.
|
||||
If you `enter` a JSON file with multiple a top-level list, this will open one new shell for each list element.
|
||||
|
||||
```shell
|
||||
/private/tmp> printf "1\\n2\\n3\\n" | lines | save foo.json
|
||||
@@ -56,4 +56,3 @@ If you `enter` a JSON file with multiple a top-level list, this will open one ne
|
||||
───┴────────┴─────────────────────────┴──────────────
|
||||
/>
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user