overlay new

For core.

Create an empty overlay.

Command Type

keyword

Signature

> overlay new {flags} (name)

Flags

  • --reload, -r: If the overlay already exists, reload its environment.

Parameters

  • name: Name of the overlay.

Input/output types:

input output
nothing nothing

Examples

Create an empty overlay.

> overlay new spam

Notes

The command will first create an empty module, then add it as an overlay.

This command is a parser keyword. For details, check: https://www.nushell.sh/book/thinking_in_nu.html

Ported from nushell/nushell.github.io. Copyright (c) 2021 Nushell Project. MIT License.