Skip to content

Commit

Permalink
Tweak headers
Browse files Browse the repository at this point in the history
  • Loading branch information
fractaledmind committed Aug 20, 2024
1 parent 9c7b2b0 commit 8fd81d4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ If bundler is not being used to manage dependencies, install the gem by executin
gem install prompts
```

## Usage
## Philosophy

Prompts aims to provide beautiful and user-friendly forms for your command-line applications while keeping both the API and the implementation simple. This means Prompts is built with constraints in mind.

Expand All @@ -28,6 +28,8 @@ In this way, this new library is similar to [Charm's Huh library](https://github

Finally, to keep internals simple, Prompts expects users to build and provide their own ANSI-formatted strings. However, we do make available the [`fmt`](https://github.com/hopsoft/fmt) gem as the recommended way to generate well formatted ANSI strings.

## Available Prompts

### Text

A `Text` prompt will prompt the user with the given question, accept their input, and then return it:
Expand Down

0 comments on commit 8fd81d4

Please sign in to comment.