Fuel Documentation

Oil utility

The Oil utility is a special package command can be used in several ways to facilitate quick development, help with testing your application and for running Tasks.

Refine

Refine is a tool that lets you run tasks. The idea behind the name is you "refine" Oil to make Fuel. You can read more specifically about Tasks to see how they are made and what they can be used for.

An example task can be found here fuel/app/tasks/ called robots.

$ php oil refine robots

					"KILL ALL HUMANS!"
			          _____     /
			         /_____\
			    ____[\*---*/]____
			   /\ #\ \_____/ /# /\
			  /  \# \_.---._/ #/  \
			 /   /|\  |   |  /|\   \
			/___/ | | |   | | | \___\
			|  |  | | |---| | |  |  |
			|__|  \_| |_#_| |_/  |__|
			//\\  <\ _//^\\_ />  //\\
			\||/  |\//// \\\\/|  \||/
			      |   |   |   |
			      |---|   |---|
			      |---|   |---|
			      |   |   |   |
			      |___|   |___|
			      /   \   /   \
			     |_____| |_____|
			     |HHHHH| |HHHHH|

Not the most useful example in the world, but it works as a useful example. But you can use the Cli class to make things more interactive or just run basic model interaction for cron jobs.