nu: add page (#5818)
* nu: add page * Apply suggestions from code review
This commit is contained in:
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`
|
Reference in New Issue
Block a user