https://github.com/venkytv/readval
A command line tool to prompt for a value to be included in another command line.
https://github.com/venkytv/readval
cli go shell terminal
Last synced: 6 months ago
JSON representation
A command line tool to prompt for a value to be included in another command line.
- Host: GitHub
- URL: https://github.com/venkytv/readval
- Owner: venkytv
- License: mit
- Created: 2021-12-22T11:27:56.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-12-22T14:38:12.000Z (over 4 years ago)
- Last Synced: 2024-06-20T00:36:39.221Z (about 2 years ago)
- Topics: cli, go, shell, terminal
- Language: Go
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
`readval` is a command line tool which is designed for one specific purpose—to
prompt for a value to be included in another command line. `readval` prints the
prompt on the TTY, reads the input also from the TTY, and echoes the entered
input to stdout.
Usage
-----
``` sh
$ readval -h
usage: ./readval [OPTIONS] prompt...
Prints prompts, reads input from TTY, and echoes it back on stdout.
-s, --silent Do not echo input
```
Examples
-------
``` sh
$ readval prompt