md_inc 0.2.4 → 0.2.6
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/md_inc +5 -0
- data/lib/md_inc/md_inc_commands.rb +3 -1
- data/lib/md_inc/version.rb +1 -1
- metadata +1 -1
data/bin/md_inc
CHANGED
@@ -10,6 +10,11 @@ op = OptionParser.new do |op|
|
|
10
10
|
exit 0
|
11
11
|
end
|
12
12
|
|
13
|
+
op.on "-v", "--version", "Print gem version" do
|
14
|
+
puts "MdInc version #{MdInc::VERSION}"
|
15
|
+
exit 0
|
16
|
+
end
|
17
|
+
|
13
18
|
op.on "-i dir", "--include dir", "Add this directory to the Ruby path" do |dir|
|
14
19
|
$: << dir
|
15
20
|
end
|
data/lib/md_inc/version.rb
CHANGED