Sha256: 417d4056b623d47b169e4d842e0ebf2f2bd692050b79275d7c2519f03598e2c9
Contents?: true
Size: 676 Bytes
Versions: 1
Compression:
Stored size: 676 Bytes
Contents
#!/usr/bin/env ruby # -*- coding: utf-8 -*- require "chef/fork/commands" class Chef class Fork module Commands class Cookbook < Noop def run(args=[]) case args.first when "show" cookbook_show(args.slice(1..-1)) when "upload" cookbook_upload(args.slice(1..-1)) else raise(NameError.new(args.inspect)) end end private def cookbook_show(args=[]) raise(NotImplementedError.new(args.inspect)) end def cookbook_upload(args=[]) raise(NotImplementedError.new(args.inspect)) end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
chef-fork-0.1.0 | lib/chef/fork/commands/cookbook.rb |