Knife cookbook missing commands

1.5k views Asked by At

Knife cookbook is missing all commands except metadata. When running knife cookbook --help I get the following output:

$knife cookbook --help 
FATAL: Cannot find sub command for: 'cookbook --help'
Available cookbook subcommands: (for details, knife SUB-COMMAND --help)

** COOKBOOK COMMANDS **
knife cookbook metadata COOKBOOK (options)

I'm running on Windows 7 and also tried to install the latest chef-dk (0.6.2) with no luck.

Do you have any idea what might be the issue?

1

There are 1 answers

3
Jeff Storey On

You are missing the subcommand part. So

knife cookbook create --help gives you details on the create command.

If you want a list of all commands available, just try knife cookbook.