feat(patterns): add command availability checks for grep and envsubst
This commit is contained in:
1 file changed
+16
+16
@@ -282,3 +282,19 @@ process-data() {
|
||||
done
|
||||
}
|
||||
```
|
||||
|
||||
## Check commands
|
||||
|
||||
Add the following statements to check if the required commands is available:
|
||||
|
||||
```python
|
||||
if ! (command -v grep & | ||||