commandline

For core.

View the current command line input buffer.

Command Type

built-in

Signature

> commandline {flags}

Input/output types:

input output
nothing string

Subcommands:

name description type
commandline complete Complete a string using the default completions. built-in
commandline edit Modify the current command line input buffer. built-in
commandline get-cursor Get the current cursor position. built-in
commandline set-cursor Set the current cursor position. built-in
commandline set-prompt Replace the current prompt and repaint it in place, without disturbing the line being edited. built-in

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