mirror of
https://github.com/jimeh/bunnyrun.git
synced 2026-02-19 07:56:40 +00:00
Update examples
This commit is contained in:
14
examples/application-example/lib/foobar/application.rb
Normal file
14
examples/application-example/lib/foobar/application.rb
Normal file
@@ -0,0 +1,14 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
require 'foobar/version'
|
||||
|
||||
module Foobar
|
||||
class Application < BunnyRun::Application
|
||||
name 'foobar'
|
||||
usage '<options> [<path>]'
|
||||
version Foobar::VERSION
|
||||
|
||||
option :success_message, 'Message to log after success',
|
||||
type: :string, default: ENV['MESSAGE']
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user