feat(patterns): add command availability checks for grep and envsubst

This commit is contained in:
Janik von Rotz committed 2025-12-17 13:59:15 +01:00
1 parent 21d9d62cf8
commit 7d6be0d982
1 file changed
+16
+16
View File
@@ -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 &