lib/github_cloner/opt_parser.rb in github-cloner-0.5.3 vs lib/github_cloner/opt_parser.rb in github-cloner-0.6.0
- old
+ new
@@ -10,11 +10,11 @@
# Set the sensible default for the options explicitly
options.base_dir = "."
options.repo_host = "github.com"
options.all_repos = false
- options.group_by_user = false
+ # options.group_by_user = false
options.clone_repos = false
options.languages = []
opt_parser = OptionParser.new do |opts|
opts.banner = "Usage: github-cloner [options]"
@@ -63,14 +63,14 @@
"All repository only (optional)",
"default to original/non-forked repositories only") do |all_repos|
options.all_repos = all_repos
end
- opts.on("-g", "--[no-]group-by-user",
- "Group the output by {BASE_DIR}/{USER}/{LANG}",
- "default to {BASE_DIR}/{LANG}/{USER}") do |gbu|
- options.group_by_user = gbu
- end
+ # opts.on("-g", "--[no-]group-by-user",
+ # "Group the output by {BASE_DIR}/{USER}/{LANG}",
+ # "default to {BASE_DIR}/{LANG}/{USER}") do |gbu|
+ # options.group_by_user = gbu
+ # end
opts.on( "-c", "--[no-]clone",
"Clone the repositories to the path specified (optional)",
"default to --no-clone e.g. dry-run only") do |c|
options.clone_repos = c