nu: update page (#7485)

This commit is contained in:
Emily Grace Seville
2022-02-06 06:19:41 -08:00
committed by GitHub
parent 12e4093604
commit c0b1520402

View File

@@ -1,15 +1,16 @@
# nu # nu
> Nushell ("a new type of shell") takes a modern, structured approach to your command-line. > Nushell ("a new type of shell") takes a modern, structured approach to your command-line.
> See also: `elvish`.
> More information: <https://www.nushell.sh>. > More information: <https://www.nushell.sh>.
- Start an interactive shell session: - Start an interactive shell session:
`nu` `nu`
- Execute a command and then exit: - Execute commands:
`nu --commands "{{command}}"` `nu --commands "{{echo 'nu is executed'}}"`
- Execute a script: - Execute a script:
@@ -18,7 +19,3 @@
- Execute a script with logging: - Execute a script with logging:
`nu --loglevel {{error|warn|info|debug|trace}} {{path/to/script.nu}}` `nu --loglevel {{error|warn|info|debug|trace}} {{path/to/script.nu}}`
- Print the Nushell version:
`nu --version`