From 8f7dda4d0bcadd7dea1280fdd087690fe27cde6c Mon Sep 17 00:00:00 2001 From: Andy Chen Date: Sun, 17 Apr 2022 23:50:08 +0100 Subject: [PATCH] docs: update readme --- README.md | 49 ++++++------------------------------------------- 1 file changed, 6 insertions(+), 43 deletions(-) diff --git a/README.md b/README.md index b6d5352..c198258 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # gofuzzyclone -go fuzzy search repos and clone (supported wildcard/regex) +go fuzzy search repos in regex and clone # Installation @@ -17,59 +17,22 @@ bash <(curl -sL https://raw.githubusercontent.com/amazingandyyy/gofuzzyclone/mai ## Usage ``` +# get instructions gofuzzyclone -help # fastline mode -gofuzzyclone -owner amazingandyyy -wildcard "*-template" -dest ./projects -gofuzzyclone -owner amazingandyyy -regex "^go.*" -dest ./projects +gofuzzyclone -owner amazingandyyy -search "^go.*" -out ./projects +gofuzzyclone -owner amazingandyyy -search "*-template" -mode wildcard -out ./projects # interactive mode gofuzzyclone -Search under which owner? amazingandyyy -Search for what wildcard pattern? (Press [Enter] to skip) go* -Search for what regex pattern? (Press [Enter] to skip) .*-template -Searching in amazingandyyy 🌍 -1 amazingandyyy/goapprove -2 amazingandyyy/argocd-example-extension -3 amazingandyyy/learn-golang-with-stephen -4 amazingandyyy/algor-in-js -5 amazingandyyy/fotingo -6 amazingandyyy/good-job -7 amazingandyyy/go-grpc-start -8 amazingandyyy/gomorph -9 amazingandyyy/django-api -10 amazingandyyy/one-click-hugo-cms -11 amazingandyyy/javascript-algorithms -12 amazingandyyy/go-app -13 amazingandyyy/app-template -14 amazingandyyy/learn-golang-with-todd -15 amazingandyyy/learn-golang-basic -16 amazingandyyy/gotraining -17 amazingandyyy/go -18 amazingandyyy/goexpress -19 amazingandyyy/go-lang-cheat-sheet -20 amazingandyyy/mongo-stars -21 amazingandyyy/mongo-property -22 amazingandyyy/mongo-flashcard -Found 22 amazingandyyy's repositories match pattern of go* .*-template -Clone all repos to which folder? ./test -Are you sure to continue cloning them all into ./test ? (Y/n) Y -Cloned: goapprove -Cloned: argocd-example-extension -Cloned: learn-golang-with-stephen -Cloned: algor-in-js -Cloned: fotingo -Cloned: good-job -Cloned: go-grpc-start -Cloned: gomorph -... ``` ## Resources -- wildcard - [regex](http://regex101.com) +- wildcard ## LICENSE -[MIT](LICENSE) +[MIT](./LICENSE)