nushell/docs/commands/exit.md
Shaurya Shubham e62a2509ae
Create exit command documentation
Partial fix of issue #711
Some parts have been copied from the fish documentation
2019-10-01 19:40:16 +05:30

262 B

exit

Exits the nu shell. If STATUS is supplied, it will be converted to an integer and used as the exit code. Otherwise, the exit code will be that of the last command executed.

Examples

> exit
> exit 1
> exit 0