class ChefCLI::Command::GeneratorCommands::CookbookCodeFile
def read_and_validate_params
def read_and_validate_params arguments = parse_options(params) case arguments.size when 1 @new_file_basename = arguments[0] @cookbook_path = Dir.pwd validate_cookbook_path when 2 @cookbook_path = arguments[0] @new_file_basename = arguments[1] else @params_valid = false end end