lib/chef-dk/builtin_commands.rb in chef-dk-0.6.2 vs lib/chef-dk/builtin_commands.rb in chef-dk-0.7.0
- old
+ new
@@ -18,10 +18,13 @@
ChefDK.commands do |c|
c.builtin "exec", :Exec, require_path: "chef-dk/command/exec",
desc: "Runs the command in context of the embedded ruby"
+ c.builtin "env", :Env, require_path: "chef-dk/command/env",
+ desc: "Prints environment variables used by ChefDK"
+
c.builtin "gem", :GemForwarder, require_path: "chef-dk/command/gem",
desc: "Runs the `gem` command in context of the embedded ruby"
c.builtin "generate", :Generate, desc: "Generate a new app, cookbook, or component"
@@ -30,9 +33,13 @@
c.builtin "install", :Install, desc: "Install cookbooks from a Policyfile and generate a locked cookbook set"
c.builtin "update", :Update, desc: "Updates a Policyfile.lock.json with latest run_list and cookbooks"
c.builtin "push", :Push, desc: "Push a local policy lock to a policy group on the server"
+
+ c.builtin "push-archive", :PushArchive, desc: "Push a policy archive to a policy group on the server"
+
+ c.builtin "show-policy", :ShowPolicy, desc: "Show policyfile objects on you Chef Server"
c.builtin "diff", :Diff, desc: "Generate an itemized diff of two Policyfile lock documents"
c.builtin "provision", :Provision, desc: "Provision VMs and clusters via cookbook"