Sha256: 22fc0541804faf06737445944b6877aff7cac3e5adf1701f13f0a018348dafbc

Contents?: true

Size: 252 Bytes

Versions: 2

Compression:

Stored size: 252 Bytes

Contents

require 'lightchef'
require 'thor'

module Lightchef
  class CLI < Thor
    desc "execute", "Run Lightchef"
    option :node_json, type: :string, aliases: ['-j']
    def execute(*recipe_files)
      Runner.run(recipe_files, options)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
lightchef-0.0.2 lib/lightchef/cli.rb
lightchef-0.0.1 lib/lightchef/cli.rb