Update #4455, Regenerate all commands' docs (#4557)

This commit is contained in:
Justin Ma
2022-02-20 09:13:33 +08:00
committed by GitHub
parent aea4355d04
commit 2ecae0ef43
48 changed files with 481 additions and 52 deletions

View File

@ -8,10 +8,22 @@ Runs a script file in the current context.
## Signature
```> exit (exit-code) --now```
```> exit (exit_code) --now```
## Parameters
- `exit-code`: Exit code to return immediately with
- `exit_code`: Exit code to return immediately with
- `--now`: Exit out of the shell immediately
## Examples
Exit the current shell
```shell
> exit
```
Exit all shells (exiting Nu)
```shell
> exit --now
```