lib/chef_sync/knife.rb
def list(*args)
			parsed_output = self.capture_output(self.list_command, args)
			if self.chef_component == 'cookbook'
				parsed_output = self.format_cookbook_list_output(parsed_output)
			end
			return parsed_output
		end
#Need to extend Chef::Knife::API in this class because knife_capture is top-level.
Need to extend Chef::Knife::API in this class because knife_capture is top-level.
Need to extend Chef :: Knife :: API in this class because knife_capture is top - level .
def list(*args)
			parsed_output = self.capture_output(self.list_command, args)
			if self.chef_component == 'cookbook'
				parsed_output = self.format_cookbook_list_output(parsed_output)
			end
			return parsed_output
		end
def list ( * args ) parsed_output = self . capture_output ( self . list_command , args ) if self . chef_component == 'cookbook' parsed_output = self . format_cookbook_list_output ( parsed_output ) end return parsed_output end
Need to extend Chef::Knife::API in this class because knife_capture is top-level.
Need to extend Chef :: Knife :: API in this class because knife_capture is top - level .
args