Update examples

This commit is contained in:
2017-10-24 01:10:51 +01:00
parent 899ad6bdb6
commit 743efbf647
10 changed files with 36 additions and 16 deletions

View File

@@ -5,14 +5,4 @@ $LOAD_PATH.unshift(File.expand_path('../../lib', File.realpath(__FILE__)))
require 'bunnyrun'
require 'foobar'
module Foobar
class Application < BunnyRun::Application
name File.basename(__FILE__)
usage '<options> [<path>]'
version Foobar::VERSION
option :log_message, 'Message to log after success', type: :string
end
end
Foobar::Application.run(argv: ARGV)