mirror of
https://github.com/jimeh/bunnyrun.git
synced 2026-02-19 07:56:40 +00:00
19 lines
432 B
Ruby
Executable File
19 lines
432 B
Ruby
Executable File
#!/usr/bin/env ruby
|
|
# frozen_string_literal: true
|
|
|
|
$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)
|