summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2021-12-21 11:05:45 -0700
committermo khan <mo@mokhan.ca>2021-12-21 11:05:45 -0700
commit1bddcfef7b451fcf2282d4cf87bbd2f3ec922081 (patch)
tree42d4d166145faa84d47d6f4463769e77da79f723 /bin
parent1da7737f8970000fc7bd592c19aa6c647d49c347 (diff)
create a CLIHEADmain
Diffstat (limited to 'bin')
-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