doctrine/migrations-documentation — Issue #1: Maybe I'm being a bit thick...
Author: professor-monkfish
Created: 2012-02-07 11:47:01+00:00
State: open

This part of the docs:

Now that we have setup the autoloaders we are ready to add the migration console
commands to our Doctrine Command Line Interface:

[php]
// ...

$cli->addCommands(array(
// ...

// Migrations Commands
new \Doctrine\DBAL\Migrations\Tools\Console\Command\DiffCommand(),
new \Doctrine\DBAL\Migrations\Tools\Console\Command\ExecuteCommand(),
new \Doctrine\DBAL\Migrations\Tools\Console\Command\GenerateCommand(),
new \Doctrine\DBAL\Migrations\Tools\Console\Command\MigrateCommand(),
new \Doctrine\DBAL\Migrations\Tools\Console\Command\StatusCommand(),
new \Doctrine\DBAL\Migrations\Tools\Console\Command\VersionCommand()
));

Where does $cli come from? Could you add a link to the document it assumes I have read?