Sha256: 276f7a058490d339500addc8109ec8219251bf8647939e8a6b09f00d50d8e903
Contents?: true
Size: 567 Bytes
Versions: 1
Compression:
Stored size: 567 Bytes
Contents
#!/usr/bin/env ruby require 'bundler/setup' require 'ruby_lambda' class RubyLambdaCLI < Thor map '-v' => :version, '--version' => :version desc '-v (--versions)', 'Outputs the version of Ruby Lambda.' def version puts RubyLambda::VERSION end desc 'init', 'Uses the current directory as a lambda ruby project (creates `main.rb`, `.ruby-version`, and `Gemfile`).' def init RubyLambda::Init.new(FileUtils.pwd).run end desc 'execute', 'execute' def execute RubyLambda::Execute.new(FileUtils.pwd).run end end RubyLambdaCLI.start(ARGV)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ruby_lambda-0.2.2 | bin/ruby-lambda |