Skip to content

Commit

Permalink
Modify script execution and update install process in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
shakib609 committed Jun 17, 2016
1 parent 5c96fd0 commit a78a8ab
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# gitcloner

Clone all repos of a user or organization with this command line python script.

## Usage

```gitcloner [-h] [-u | -o] name```

Valid OPTIONS:
Expand Down Expand Up @@ -29,7 +31,7 @@ gitcloner -o google
Install using setup.py file provided
```sh
git clone https://github.com/shakib609/gitcloner.git
python3 setup.py install
[sudo] python3 setup.py install
```

## Requirements
Expand Down
7 changes: 6 additions & 1 deletion gitcloner
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,9 @@ def main():
account.clone_repos()


main()
if __name__ == '__main__':
try:
main()
except KeyboardInterrupt:
print('\nCloning cancelled!')
print('Interrupted by user.')

0 comments on commit a78a8ab

Please sign in to comment.