Document everything in quick-bootstrap.sh

This commit is contained in:
Leopere 2018-11-06 16:26:26 -05:00
parent 27066dceca
commit 6df6beef34
No known key found for this signature in database
GPG key ID: 64476C903E477CCB

View file

@ -1,6 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
## Be Polite and ask for permission. ## TODO: Be Polite and ask for confirmation.
function QandA() { function QandA() {
read -r -p "Continue with $1 [y/N] " response read -r -p "Continue with $1 [y/N] " response
response=${response,,} # tolower response=${response,,} # tolower
@ -14,6 +14,7 @@ function QandA() {
## Check your $PATH for required dependencies. ## Check your $PATH for required dependencies.
## Stop and complain for now, later automagically install them. ## Stop and complain for now, later automagically install them.
## TODO: Add dependency checker.
function test_for_deps() { function test_for_deps() {
## Test for Command ## Test for Command
if ! [ -x "$(command -v $1)" ]; then if ! [ -x "$(command -v $1)" ]; then