Skip to content

Commit

Permalink
Code clean up and
Browse files Browse the repository at this point in the history
version update
  • Loading branch information
tbalz2319 committed Apr 6, 2019
1 parent 73df812 commit 0c4709e
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# 3.0.2

# 3.0.1
- Cleaned up @click section comments based on input provided by Codefactor

- Provided comment on second worker_data=[] list purpose

## 3.0.1

- Updated readme file "Use case" section

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# RapidRepoPull

![os](https://img.shields.io/badge/OS-Linux,%20macOS-yellow.svg)
![rapidrepoinstallver](https://img.shields.io/badge/version-3.0.1-red.svg)
![rapidrepoinstallver](https://img.shields.io/badge/version-3.0.2-red.svg)
[![Twitter](https://img.shields.io/badge/twitter-@xtbalz-blue.svg)](https://twitter.com/xtbalz)
[![CodeFactor](https://www.codefactor.io/repository/github/tbalz2319/rapidrepopull/badge)](https://www.codefactor.io/repository/github/tbalz2319/rapidrepopull)
[![Build Status](https://travis-ci.com/tbalz2319/RapidRepoPull.svg?token=QYYAGdpg1FpLiGsNAJgb&branch=master)](https://travis-ci.com/tbalz2319/RapidRepoPull)
Expand Down
2 changes: 1 addition & 1 deletion VERSION.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
3.0.1
3.0.2

3 changes: 1 addition & 2 deletions rapid.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,13 @@ def intro():

@click.command()
@click.option('--verbose', '-v', multiple=True, is_flag=True, help="Will print verbose messages.")
# Interesting note below, the multiple option lets you changethe values of the option to a tuple if its true
# If it is not true, then the value is a single value
@click.option('--fileinput', '-f', default='default.txt', multiple=False, help='Specify a text file with a list of user selected Github repos')
@click.option('--thread', '-t', multiple=False, default=multiprocessing.cpu_count(), help='Specify the number of CPU threads to use')
@click.option('--url', '-u', multiple=False, help='Specify a url to scrape containing Github repos to clone')

def cli(verbose, fileinput, thread, url):
worker_data = []
# The second array will only be utilized if a user specifies a url to scrape with the -u option
worker_data2 = []

if thread < 1:
Expand Down

0 comments on commit 0c4709e

Please sign in to comment.