2022-02-14 03:22:51 +01:00
|
|
|
---
|
|
|
|
title: input
|
|
|
|
layout: command
|
2022-03-04 13:10:09 +01:00
|
|
|
version: 0.59.1
|
2022-02-14 03:22:51 +01:00
|
|
|
---
|
|
|
|
|
|
|
|
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)
|
|
|
|
```
|