Permalink
Browse files

Add foo

  • Loading branch information...
X140Yu committed Jan 24, 2018
0 parents commit 02c28244f8e7881346f4f902afb2afbfbb0fe2b5
Showing with 23 additions and 0 deletions.
  1. +23 −0 foo
23 foo
@@ -0,0 +1,23 @@
#!/usr/bin/env ruby
require 'gli'
include GLI::App
program_desc 'A Simple CLI'
desc "Say hello"
command :hello do |c|
c.action do
puts "hello"
end
end
desc "Say goodbye"
command :goodbye do |c|
c.action do
puts "goodbye"
end
end
exit run(ARGV)

0 comments on commit 02c2824

Please sign in to comment.