howzit 2.0.18 → 2.0.19
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/bin/howzit +10 -10
- data/lib/howzit/version.rb +1 -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: 7c08d6ceea211cc4e603a59c5e2f1ac7c2db806d55a8eaa1f260e1f0994bdf45
|
4
|
+
data.tar.gz: c5b6c284c725a8f1edabc07723a18d0e9d9c56204be0b7fb50e0d3bb1b5efccf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8c456e2c7f820777d6e07a26fcc677bfa8ac09a12bd409e870c37dbaa431f186ac551575b6eead585d446a02b533b5c729eba4dfac40b2caa876ff9f63400c9b
|
7
|
+
data.tar.gz: 03717f2b209cf812b31e5da66ab57000e7e54cd52efa08b8bc7e4c2840e30581509af401e76e8ccef9e5cd0b232d04601eb6d5723b49cc1e6ae3bb7e760bff29
|
data/CHANGELOG.md
CHANGED
data/bin/howzit
CHANGED
@@ -44,7 +44,7 @@ OptionParser.new do |opts|
|
|
44
44
|
|
45
45
|
opts.separator "\n Listing:\n\n" #=================================================================== LISTING
|
46
46
|
|
47
|
-
opts.on('-L', '--list-completions', 'List topics
|
47
|
+
opts.on('-L', '--list-completions', 'List topics (completion-compatible)') do
|
48
48
|
Howzit.options[:list_topics] = true
|
49
49
|
Howzit.options[:list_topic_titles] = true
|
50
50
|
end
|
@@ -98,11 +98,6 @@ OptionParser.new do |opts|
|
|
98
98
|
Process.exit 0
|
99
99
|
end
|
100
100
|
|
101
|
-
opts.on('--edit-template NAME', 'Create or edit a template') do |template|
|
102
|
-
Howzit.buildnote.edit_template(template)
|
103
|
-
Process.exit 0
|
104
|
-
end
|
105
|
-
|
106
101
|
opts.on('--config-get [KEY]', 'Display the configuration settings or setting for a specific key') do |k|
|
107
102
|
if k.nil?
|
108
103
|
Howzit::Config::DEFAULTS.sort_by { |key, _| key }.each do |key, _|
|
@@ -136,14 +131,19 @@ OptionParser.new do |opts|
|
|
136
131
|
Process.exit 0
|
137
132
|
end
|
138
133
|
|
139
|
-
|
134
|
+
desc = %(Edit buildnotes file in current working directory using editor (#{File.basename(Howzit.options[:config_editor])}))
|
135
|
+
opts.on('-e', '--edit', desc) do
|
136
|
+
Howzit.buildnote.edit
|
137
|
+
Process.exit 0
|
138
|
+
end
|
139
|
+
|
140
|
+
opts.on('--edit-config', "Edit configuration file using editor (#{File.basename(Howzit.options[:editor])})") do
|
140
141
|
Howzit.config.editor
|
141
142
|
Process.exit 0
|
142
143
|
end
|
143
144
|
|
144
|
-
|
145
|
-
|
146
|
-
Howzit.buildnote.edit
|
145
|
+
opts.on('--edit-template NAME', 'Create or edit a template') do |template|
|
146
|
+
Howzit.buildnote.edit_template(template)
|
147
147
|
Process.exit 0
|
148
148
|
end
|
149
149
|
|
data/lib/howzit/version.rb
CHANGED