nushell/docs/commands/input.md

359 B

title layout version
input command 0.59.1

Get input from the user.

Signature

> input (prompt) --bytes-until

Parameters

  • prompt: prompt to show the user
  • --bytes-until {string}: read bytes (not text) until a stop byte

Examples

Get input from the user, and assign to a variable

> let user-input = (input)