mirror of
https://github.com/nushell/nushell
synced 2024-12-28 14:03:09 +00:00
373 B
373 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