mirror of
https://github.com/nushell/nushell
synced 2025-01-27 20:35:43 +00:00
Improve the default help message (#1313)
This commit is contained in:
parent
7df8fdfb28
commit
0bbd12e37f
1 changed files with 14 additions and 0 deletions
|
@ -86,6 +86,20 @@ Here are some tips to help you get started.
|
|||
* help commands - list all available commands
|
||||
* help <command name> - 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();
|
||||
|
|
Loading…
Reference in a new issue