mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-08 10:35:03 +00:00
handle config, put things in a dir
This commit is contained in:
parent
36c60d44ff
commit
77d4eba199
2 changed files with 3 additions and 2 deletions
2
crawl.sh
2
crawl.sh
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
set -euxo pipefail
|
||||
|
||||
path=$(pwd)/$(printf "%s/" "$@")
|
||||
path=$(pwd)/gcloud/$(printf "%s/" "$@")
|
||||
mkdir -p $path
|
||||
|
||||
if [[ $# -eq 0 ]] ; then
|
||||
|
|
|
|||
3
main.go
3
main.go
|
|
@ -35,7 +35,8 @@ func main() {
|
|||
incommands = true
|
||||
continue
|
||||
}
|
||||
if strings.Contains(txt, "NOTES") {
|
||||
if strings.Contains(txt, "NOTES") ||
|
||||
strings.Contains(txt, "AVAILABLE") {
|
||||
break
|
||||
}
|
||||
if strings.Contains(txt, " ") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue