nushell/docs/commands/exit.md
Justin Ma c0a1d18e3d
update #4455, regenerate commands' docs and update make_docs script (#4586)
* feat: update #4455, regenerate commands' docs

* chore: update make_docs script
2022-02-21 11:26:00 -06:00

372 B

title layout version
exit command 0.59.0

Runs a script file in the current context.

Signature

> exit (exit_code) --now

Parameters

  • exit_code: Exit code to return immediately with
  • --now: Exit out of the shell immediately

Examples

Exit the current shell

> exit

Exit all shells (exiting Nu)

> exit --now