Skip to content

Commit e299b31

Browse files
author
hadar-co
authored
Merge pull request #17 from datreeio/yaml
Yaml
2 parents 4a842d9 + 4a4386c commit e299b31

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ The following programs are required to be installed on the machine running this
2020
* [kubectl](https://kubernetes.io/docs/tasks/tools/#kubectl)
2121

2222
### Usage
23-
To use the CRD Extractor, run the following script:
23+
To use the CRD Extractor:
24+
1. Download the [latest release](https://github.com/datreeio/CRDs-catalog/releases/latest/download/crd-extractor.zip) from this repository.
25+
2. Extract, and run the utility:
2426
```
25-
./Utilities/crd-extractor.sh
27+
./crd-extractor.sh
2628
```

Utilities/crd-extractor.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,9 @@ if ! pip3 show pyyaml &> /dev/null; then
2121
while true; do
2222
read -p "Do you wish to install this program? (y/n) " yn
2323
case $yn in
24-
[Yy]* ) pip3 install pyyaml; break;;
25-
[Nn]* ) echo "Exiting..."; exit;;
24+
[Yy] ) pip3 install pyyaml; break;;
25+
"" ) pip3 install pyyaml; break;;
26+
[Nn] ) echo "Exiting..."; exit;;
2627
* ) echo "Please answer 'y' (yes) or 'n' (no).";;
2728
esac
2829
done

0 commit comments

Comments
 (0)