summaryrefslogtreecommitdiff
path: root/bin/shogun
diff options
context:
space:
mode:
Diffstat (limited to 'bin/shogun')
-rwxr-xr-xbin/shogun12
1 files changed, 12 insertions, 0 deletions
diff --git a/bin/shogun b/bin/shogun
new file mode 100755
index 0000000..7bc5192
--- /dev/null
+++ b/bin/shogun
@@ -0,0 +1,12 @@
+#!/usr/bin/env ruby
+
+$LOAD_PATH.unshift("#{__dir__}/../lib")
+
+require "shogun"
+
+if ARGV.count < 1
+ puts "Usage: #{ARGV[0]} USERNAME"
+ exit 0
+end
+
+puts Shogun::GitHubScore.new(ARGV[0]).score