mokuji 1.0.0 → 1.0.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/mokuji +14 -0
- data/lib/mokuji/version.rb +1 -1
- metadata +2 -2
data/bin/mokuji
CHANGED
@@ -6,6 +6,9 @@ require 'rubygems'
|
|
6
6
|
require 'thor'
|
7
7
|
|
8
8
|
class Moki < Thor
|
9
|
+
#
|
10
|
+
# cmnd : List
|
11
|
+
#
|
9
12
|
desc "list PATH (EXPORT_PATH)", "Recursively list a directory by its path."
|
10
13
|
long_desc %Q{
|
11
14
|
Recursively list a directory by its path.
|
@@ -30,6 +33,17 @@ class Moki < Thor
|
|
30
33
|
say error_message.to_s, :red
|
31
34
|
end
|
32
35
|
end
|
36
|
+
|
37
|
+
#
|
38
|
+
# cmnd : Version
|
39
|
+
#
|
40
|
+
map '-v' => :version
|
41
|
+
desc "version", "Mokuji version"
|
42
|
+
|
43
|
+
def version
|
44
|
+
require 'mokuji/version'
|
45
|
+
say 'v' + Mokuji::VERSION
|
46
|
+
end
|
33
47
|
end
|
34
48
|
|
35
49
|
Moki.start
|
data/lib/mokuji/version.rb
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: mokuji
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 1.0.
|
5
|
+
version: 1.0.1
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Icid Asset
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-04-
|
13
|
+
date: 2011-04-28 00:00:00 +02:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|