mirror of
https://github.com/nushell/nushell.git
synced 2024-11-27 02:44:01 +01:00
24 lines
359 B
Markdown
24 lines
359 B
Markdown
|
---
|
||
|
title: input
|
||
|
layout: command
|
||
|
version: 0.59.0
|
||
|
---
|
||
|
|
||
|
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
|
||
|
```shell
|
||
|
> let user-input = (input)
|
||
|
```
|