Add bin/imbecile and Imbecile::CLI module
This commit is contained in:
1 parent
ee27c5e9b1
commit
d879a93d09
3 files changed
+20
-6
No files matched your search
Executable
+5
@@ -0,0 +1,5 @@
|
|||||||
|
#!/usr/bin/env ruby
|
||||||
|
|
||||||
|
require "imbecile"
|
||||||
|
|
||||||
|
Imbecile::CLI.run(ARGV.dup)
|
||||||
+2
-6
@@ -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
|
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
module Imbecile
|
||||||
|
module CLI
|
||||||
|
|
||||||
|
class << self
|
||||||
|
|
||||||
|
def run(args)
|
||||||
|
p args
|
||||||
|
end
|
||||||
|
|
||||||
|
end
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
Reference in new issue
Block a user