From 1f65b86a11f4f05d1481c0b11f15ef364a8bc1d7 Mon Sep 17 00:00:00 2001 From: Nicolas Kosinski Date: Tue, 27 Apr 2021 18:05:25 +0200 Subject: [PATCH] nu: add page (#5818) * nu: add page * Apply suggestions from code review --- pages/common/nu.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pages/common/nu.md diff --git a/pages/common/nu.md b/pages/common/nu.md new file mode 100644 index 0000000000..ce7270f65b --- /dev/null +++ b/pages/common/nu.md @@ -0,0 +1,24 @@ +# nu + +> Nushell ("a new type of shell") takes a modern, structured approach to your command-line. +> More information: . + +- Start an interactive shell session: + +`nu` + +- Execute a command and then exit: + +`nu --commands "{{command}}"` + +- Execute a script: + +`nu {{path/to/script.nu}}` + +- Execute a script with logging: + +`nu --loglevel {{error|warn|info|debug|trace}} {{path/to/script.nu}}` + +- Print the Nushell version: + +`nu --version`