Skip to content

Commit

Permalink
Update ordering in README
Browse files Browse the repository at this point in the history
  • Loading branch information
booniepepper committed May 8, 2023
1 parent 36d1a11 commit 68838df
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,18 @@

Dirt-simple yes/no prompts for your shell scripts.

## Example

```bash
if Yn 'Do you want to fight?'; then
echo 'Have at ye, scoundrel! 🤺'
else
echo 'Tea then? 🍵'
fi
```

## Usage

```text
$ Yn --help
USAGE:
Expand All @@ -25,16 +37,6 @@ When the user gives any other input:
* yN defaults to no
```

## Example

```bash
if Yn 'Do you want to fight?'; then
echo 'Have at ye, scoundrel! 🤺'
else
echo 'Tea then? 🍵'
fi
```

## Credits

BSD-3-Clause License
Expand Down

0 comments on commit 68838df

Please sign in to comment.