mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 16:54:58 +02:00
Auto-generate markdown command docs (#4451)
* Finish updating * a couple improvements * Update renames * cleanup examples
This commit is contained in:
24
docs/commands/input.md
Normal file
24
docs/commands/input.md
Normal file
@ -0,0 +1,24 @@
|
||||
---
|
||||
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)
|
||||
```
|
||||
|
Reference in New Issue
Block a user