📚 Correct a few grammar pieces in the README (#19)

* Correct a few grammar pieces in the README

* Revert "Have you got any questions?" to "Got questions?"

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
Andy Grunwald 2020-02-16 13:14:15 +01:00 committed by GitHub
parent 82f37270c4
commit 035a3c6dc7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,7 +16,7 @@
## About ## About
Bashio is an bash function library for use with Home Assistant add-ons. Bashio is a bash function library for use with Home Assistant add-ons.
It contains a set of commonly used operations and can be used It contains a set of commonly used operations and can be used
to be included in add-ons to reduce code duplication across add-ons and to be included in add-ons to reduce code duplication across add-ons and
@ -27,7 +27,7 @@ Main goals:
- Reduce the number of operations needed in add-ons. - Reduce the number of operations needed in add-ons.
- Reduce the amount of code needed in add-ons. - Reduce the amount of code needed in add-ons.
- Make add-on code more readable. - Make add-on code more readable.
- Providing an trusted and tested code base. - Providing a trusted and tested code base.
Quicker add-on development, by allowing you to focus on the add-on logic Quicker add-on development, by allowing you to focus on the add-on logic
instead of other things. instead of other things.
@ -49,16 +49,16 @@ Currently available base images:
- [Official Home Assistant Raspbian Docker Base Image][home-assistant-base] - [Official Home Assistant Raspbian Docker Base Image][home-assistant-base]
- [Official Home Assistant Ubuntu Docker Base Image][home-assistant-base] - [Official Home Assistant Ubuntu Docker Base Image][home-assistant-base]
Using those images as the base for your Home Assistant add-on, will provide this Using those images as the base for your Home Assistant add-on will provide this
function library out of the box. Our base images are updated frequently and function library out of the box. Our base images are updated frequently and
provides the minimal needed base image for a great add-on. provide the minimal needed base image for a great add-on.
If you want to add Bashio to your own images, please take a look at the If you want to add Bashio to your own images, please take a look at the
Dockerfile of the above base images to see how they are added at build time. Dockerfile of the above base images to see how they are added at build time.
## Configuration ## Configuration
Configuring an Bash script to use the Bashio library is fairly easy. Simply Configuring a Bash script to use the Bashio library is fairly easy. Simply
replace the shebang of your script file, from `bash` to `bashio`. replace the shebang of your script file, from `bash` to `bashio`.
Before example: Before example:
@ -86,11 +86,11 @@ bashio::log.info "${USERNAME}"
## Functions ## Functions
Bashio has more then 250+ functions available: communicating with Bashio has more than 250+ functions available: communicating with
the Supervisor API, Have I Been Pwned, file system, logging, configuration handling the Supervisor API, Have I Been Pwned, file system, logging, configuration handling
and a lot more! and a lot more!
The best way to get around, would be by looking at the different modules The best way to get around would be by looking at the different modules
available in the [`lib`](lib) folder. Each module has its own file, and each available in the [`lib`](lib) folder. Each module has its own file, and each
function has been documented inside the codebase. function has been documented inside the codebase.