Sha256: 53f02bbe0f7ed10b3230d6e526694984f7c9423b70305f8bc7fef316007c1e27

Contents?: true

Size: 213 Bytes

Versions: 4

Compression:

Stored size: 213 Bytes

Contents

require "cli/app"

# A CLI app framework
module CLI
  # Create a new App object with $0 as the binary name and runs it with ARGV
  def self.app(&block)
    @app = App.new($0, &block)
    @app.run!(ARGV)
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
wojtekmach-cli-0.3.0 lib/cli.rb
wojtekmach-cli-0.2.0 lib/cli.rb
wojtekmach-cli-0.1.3 lib/cli.rb
wojtekmach-cli-0.1.0 lib/cli.rb