From b8001d6ace24e14739b455212d5c840498d89c65 Mon Sep 17 00:00:00 2001 From: koki-develop Date: Mon, 18 Sep 2023 11:04:00 +0900 Subject: [PATCH] Update README --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 68dcb48..e96126e 100644 --- a/README.md +++ b/README.md @@ -104,6 +104,17 @@ $ askai -i ![](./assets/demo.gif) +### Pass a question from stdin + +Questions can also be passed from stdin. + +```sh +# pipe +$ echo 'QUESTION' | askai + +# file +$ askai < question.txt +``` ## LICENSE