Adding 'yadr' command for managing plugins (wip)
This commit is contained in:
17
bin/yadr/lib/git-style-binaries-0.1.11/test/fixtures/flickr-download
vendored
Executable file
17
bin/yadr/lib/git-style-binaries-0.1.11/test/fixtures/flickr-download
vendored
Executable file
@@ -0,0 +1,17 @@
|
||||
#!/usr/bin/env ruby
|
||||
$:.unshift(File.dirname(__FILE__) + "/../../lib")
|
||||
require 'git-style-binary/command'
|
||||
|
||||
GitStyleBinary.command do
|
||||
short_desc "download a flickr image"
|
||||
banner <<-EOS
|
||||
SYNOPSIS
|
||||
#{command.full_name} #{all_options_string} url
|
||||
|
||||
Downloads an image from flickr
|
||||
|
||||
EOS
|
||||
run do |command|
|
||||
puts "would download: #{command.argv.inspect}"
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user