All apps/Chef Infra

Chef Infra

chef

A powerful automation platform that transforms infrastructure into code, automating how it is configured, deployed and managed.

Runs as chef, knife, chef-client, chef-solo, chef-apply|macOS, Linux, Windows|www.chef.io

Command form

ai-draft · 1 task · 7 fields

Generate a new cookbook with chef generate cookbook. Other generators, knife and chef-client are not covered.

Opens the form; the finished command lands at your prompt, unrun
otty gui chef

chef generate cookbook

Generate a cookbook
Generate a cookbookExample values, fixed in this page — nothing here reaches a terminal
Basic
Cookbook name or path*
string
ChefSpec samples
--specs
TasksEach one presets the form for one job
New cookbook
namespecs
ParametersOnly these flags are editable in the form
Cookbook name or path
string · positional 0
Berkshelf
Use Berkshelf dependency resolution.
boolean
--berks-b
Policyfile
Use Policyfile dependency resolution (the default).
boolean
--policy-P
Test Kitchen configuration
enum
--kitchendokkenvagrant
ChefSpec samples
boolean
--specs-s
YAML recipe
Use a YAML recipe configuration file as the default.
boolean
--yaml-y
Verbose
boolean
--verbose-V
SourcesEvery flag above is checked against these
src
banner "Usage: #{ChefCLI::Dist::EXEC} generate cookbook NAME [options]" short: "-b", long: "--berks", description: "Generate cookbooks using Berkshelf dependency resolution.", long: "--kitchen CONFIGURATION", description: "Generate cookbooks with a specific Test Kitchen configuration (dokken|vagrant) - defaults to vagrant", short:…
help2026-10-27

github.com

Before it fills your prompt, Otty checks the installed chef against its version. A form that does not match your version is not offered.