bin/hook in hookapp-0.0.2 vs bin/hook in hookapp-0.0.3
- old
+ new
@@ -24,11 +24,11 @@
# default_value 'the default'
# arg_name 'The name of the argument'
# flag [:f,:flagname]
desc 'List hooks on a file or url'
- arg_name 'FILE_OR_URL [FILE_OR_URL, ...]'
+ arg_name 'FILE_OR_URL [FILE_OR_URL...]'
command %i[list ls] do |c|
c.desc 'Output only bookmarks with file paths (exclude e.g. emails)'
c.switch %i[f files_only], { negatable: false, default_value: false }
c.desc 'Separate results with NULL separator, only applies with "paths" output for single file argument'
@@ -50,10 +50,10 @@
puts result
end
end
desc 'Create bidirectional hooks between two or more files/urls'
- arg_name 'SOURCE [SOURCE, ...] TARGET'
+ arg_name 'SOURCE [SOURCE...] TARGET'
command %i[link ln] do |c|
c.desc 'Link every listed file or url to every other'
c.switch %i[a all], { negatable: false, default_value: false }
c.desc 'Paste URL from clipboard'