summaryrefslogtreecommitdiff
path: root/bin/smashing
diff options
context:
space:
mode:
authorVarac <varac@leap.se>2017-10-16 14:21:55 +0200
committerVarac <varac@leap.se>2017-10-16 14:21:55 +0200
commitc3e807eb42ea7389676b714584bde204eab18577 (patch)
treed9ac909ff468ff2f00f03a29ab3f9b4ba05a56a7 /bin/smashing
parent64a3927db5440fe2c9b5c4d02667cb0749884c40 (diff)
parent2917ad9519d6f872d51582d335a147bf2e5f935e (diff)
Merge branch 'upgrade_dashing'
Diffstat (limited to 'bin/smashing')
-rwxr-xr-xbin/smashing9
1 files changed, 9 insertions, 0 deletions
diff --git a/bin/smashing b/bin/smashing
new file mode 100755
index 0000000..cce9340
--- /dev/null
+++ b/bin/smashing
@@ -0,0 +1,9 @@
+#!/usr/bin/env ruby
+require "pathname"
+bin_file = Pathname.new(__FILE__).realpath
+$:.unshift File.expand_path("../../lib", bin_file)
+
+require 'dashing/cli'
+require 'dashing/downloader'
+Dashing::CLI.source_root(File.expand_path('../../templates', bin_file))
+Dashing::CLI.start(ARGV)