Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 419 Bytes

README.md

File metadata and controls

21 lines (13 loc) · 419 Bytes

yon

yon is a small utility for writing yes/no prompts in the shell. "yon" stands for Yes Or No.

The included binary is compiled for Linux using luastatic.

Usage

if yon; then
  echo ok
fi

TODO

  • take options other than y/n
  • accept a prompt to display
  • decide how to specify exit codes or printed values

License

WTFPL, do as you please. -POLM