The <info>%command.name%</info> command generates a new twig extension with its runtime class.

<info>php %command.full_name% AppExtension</info>

If the argument is missing, the command will ask for the class name interactively.