summaryrefslogtreecommitdiff
path: root/crawl.pl
diff options
context:
space:
mode:
authorfranck cuny <franck@lumberjaph.net>2010-01-30 16:35:44 +0100
committerfranck cuny <franck@lumberjaph.net>2010-01-30 16:35:44 +0100
commit1774a184943070ba9c892a30bc563d073209c97d (patch)
treec4d5582abf0839c242d40f92c63f73285a908088 /crawl.pl
parentdon't fetch info if profile exists (diff)
downloadgithub-explorer-1774a184943070ba9c892a30bc563d073209c97d.tar.gz
start to gen. gexf
Diffstat (limited to 'crawl.pl')
-rw-r--r--crawl.pl7
1 files changed, 4 insertions, 3 deletions
diff --git a/crawl.pl b/crawl.pl
index fa7ae4e..cbcfe6c 100644
--- a/crawl.pl
+++ b/crawl.pl
@@ -8,7 +8,8 @@ use Getopt::Long;
GetOptions(
'deploy' => \my $deploy,
'profiles' => \my $profiles,
- 'repo' => \my $repo
+ 'repo' => \my $repo,
+ 'graph' => \my $graph,
);
my $gh = githubexplorer->new(
@@ -21,5 +22,5 @@ my $gh = githubexplorer->new(
);
$gh->deploy if $deploy;
-$gh->harvest_profiles;
-
+$gh->harvest_profiles if $profiles;
+$gh->gen_graph if $graph;