mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
nu: add page (#5818)
* nu: add page * Apply suggestions from code review
This commit is contained in:
parent
051ec5e29a
commit
1f65b86a11
1 changed files with 24 additions and 0 deletions
24
pages/common/nu.md
Normal file
24
pages/common/nu.md
Normal file
|
@ -0,0 +1,24 @@
|
|||
# nu
|
||||
|
||||
> Nushell ("a new type of shell") takes a modern, structured approach to your command-line.
|
||||
> More information: <https://www.nushell.sh>.
|
||||
|
||||
- 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`
|
Loading…
Add table
Reference in a new issue