Skip to content

Commit

Permalink
docs: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
amazingandyyy committed Apr 17, 2022
1 parent 94fde5f commit 8f7dda4
Showing 1 changed file with 6 additions and 43 deletions.
49 changes: 6 additions & 43 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# gofuzzyclone

go fuzzy search repos and clone (supported wildcard/regex)
go fuzzy search repos in regex and clone

# Installation

Expand All @@ -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)

0 comments on commit 8f7dda4

Please sign in to comment.