1
0
Fork 0
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:
Nicolas Kosinski 2021-04-27 18:05:25 +02:00 committed by GitHub
parent 051ec5e29a
commit 1f65b86a11
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

24
pages/common/nu.md Normal file
View 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`