Add bin/imbecile and Imbecile::CLI module
This commit is contained in:
parent
ee27c5e9b1
commit
d879a93d09
5
bin/imbecile
Executable file
5
bin/imbecile
Executable file
@ -0,0 +1,5 @@
|
|||||||
|
#!/usr/bin/env ruby
|
||||||
|
|
||||||
|
require "imbecile"
|
||||||
|
|
||||||
|
Imbecile::CLI.run(ARGV.dup)
|
@ -1,6 +1,2 @@
|
|||||||
require "imbecile/version"
|
require_relative "imbecile/cli"
|
||||||
|
require_relative "imbecile/version"
|
||||||
module Imbecile
|
|
||||||
class Error < StandardError; end
|
|
||||||
# Your code goes here...
|
|
||||||
end
|
|
||||||
|
13
lib/imbecile/cli.rb
Normal file
13
lib/imbecile/cli.rb
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
module Imbecile
|
||||||
|
module CLI
|
||||||
|
|
||||||
|
class << self
|
||||||
|
|
||||||
|
def run(args)
|
||||||
|
p args
|
||||||
|
end
|
||||||
|
|
||||||
|
end
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
Loading…
x
Reference in New Issue
Block a user