quick 0.2 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/bin/quick +6 -0
- data/lib/quick.rb +2 -0
- metadata +1 -1
data/bin/quick
CHANGED
@@ -6,6 +6,12 @@ require 'uri'
|
|
6
6
|
require_relative '../lib/quick'
|
7
7
|
|
8
8
|
class QuickCLI < Thor
|
9
|
+
map '-v' => :version
|
10
|
+
desc 'version', "print your version of Quick"
|
11
|
+
def version
|
12
|
+
puts Quick::VERSION
|
13
|
+
end
|
14
|
+
|
9
15
|
desc 'start MOUNT_DIR', "run Quick, mounting the FS on MOUNT_DIR"
|
10
16
|
option :foreground, type: :boolean, aliases: :f
|
11
17
|
def start(dir)
|
data/lib/quick.rb
CHANGED