summaryrefslogtreecommitdiff
path: root/bin/smashing
diff options
context:
space:
mode:
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)