mirror of
https://github.com/nushell/nushell
synced 2025-01-04 09:18:57 +00:00
8c0a2d3c15
* Finish updating * a couple improvements * Update renames * cleanup examples
24 lines
360 B
Markdown
24 lines
360 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)
|
|
```
|
|
|