mirror of
https://github.com/jimeh/bunnyrun.git
synced 2026-02-19 07:56:40 +00:00
Add some basic examples
This commit is contained in:
11
examples/application-example/bin/foobar
Executable file
11
examples/application-example/bin/foobar
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env ruby
|
||||
$LOAD_PATH.unshift(File.expand_path('../../lib', File.realpath(__FILE__)))
|
||||
require 'bunnyrun'
|
||||
require 'foobar'
|
||||
|
||||
cli = BunnyRun::CLI.new(
|
||||
name: File.basename(__FILE__),
|
||||
version: Foobar::VERSION
|
||||
)
|
||||
|
||||
cli.run(ARGV)
|
||||
Reference in New Issue
Block a user