From 0bbd12e37f237d0dc5aab2d4df64c67a1e4bf2b7 Mon Sep 17 00:00:00 2001 From: Jonathan Turner Date: Thu, 30 Jan 2020 20:13:14 -0800 Subject: [PATCH] Improve the default help message (#1313) --- src/commands/help.rs | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/commands/help.rs b/src/commands/help.rs index fa4c357887..f282692dc3 100644 --- a/src/commands/help.rs +++ b/src/commands/help.rs @@ -86,6 +86,20 @@ Here are some tips to help you get started. * help commands - list all available commands * help - display help about a particular command +Nushell works on the idea of a "pipeline". Pipelines are commands connected with the '|' character. Each stage +in the pipeline works together to load, parse, and display information to you. + +[Examples] + +List the files in the current directory, sorted by size: + ls | sort-by size + +Get information about the current system: + sys | get host + +Get the processes on your system actively using CPU: + ps | where cpu > 0 + You can also learn more at https://www.nushell.sh/book/"#; let mut output_stream = VecDeque::new();