ZMediumToMarkdown 1.3.5 → 1.3.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/ZMediumToMarkdown +3 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '047916f49250b0e48700908c765903cb45c934a2b6f8907fbdaf0adc6e07b597'
|
4
|
+
data.tar.gz: 7e7ba6e03af72831bd3707ffe9e2d54ef94115ba55993e1647fa8e0b8727ae09
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf1721121992e4de3bc8659baf19d56b4c9ecbcfadc53d141a8733b4b14e6986dd083ab246adbe77c0852493631fa5547be8b5d6d9084cf82fe1c4aa3e151b9f
|
7
|
+
data.tar.gz: 61c54cbde7f3d3b383df1f1038580f7fb8b824677bc809320e115a5df4fa2cf2cd498e204dca21e7afa29f0a0ad713bf4d1ea61403bacd31a1787b8cec9dff24
|
data/bin/ZMediumToMarkdown
CHANGED
@@ -13,7 +13,7 @@ class Main
|
|
13
13
|
fetcher = ZMediumFetcher.new
|
14
14
|
ARGV << '-h' if ARGV.empty?
|
15
15
|
|
16
|
-
filePath =
|
16
|
+
filePath = Dir.getwd
|
17
17
|
outputFilePath = PathPolicy.new(filePath, "Output")
|
18
18
|
|
19
19
|
OptionParser.new do |opts|
|
@@ -41,12 +41,14 @@ class Main
|
|
41
41
|
|
42
42
|
opts.on('-c', '--clean', 'Remove all downloaded posts data') do
|
43
43
|
FileUtils.rm_rf(Dir[outputFilePath.getAbsolutePath(nil)])
|
44
|
+
puts "All downloaded posts data has been removed."
|
44
45
|
|
45
46
|
Helper.printNewVersionMessageIfExists()
|
46
47
|
end
|
47
48
|
|
48
49
|
opts.on('-v', '--version', 'Print current ZMediumToMarkdown Version') do
|
49
50
|
puts "Version:#{Helper.getLocalVersionFromGemspec().to_string}"
|
51
|
+
puts "Output Path:#{outputFilePath.getAbsolutePath(nil)}"
|
50
52
|
end
|
51
53
|
|
52
54
|
end.parse!
|