Skip to content

Commit 1b3f8d4

Browse files
committed
Add script for deleting all brev instances.
1 parent d7e2397 commit 1b3f8d4

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

build/brev-delete-instances.bash

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/bash
2+
3+
INSTANCES=$(brev list | tail -n +3 | awk '{print $1}' | tr '\n' ' ')
4+
5+
if [ -n "${INSTANCES}" ]; then
6+
brev delete ${INSTANCES}
7+
else
8+
echo "No instances found"
9+
fi

0 commit comments

Comments
 (0)