<s> from cleo . commands import Command <EOL> class FooCommand ( Command ) : <EOL> def configure ( self ) : <EOL> self . set_name ( '<STR_LIT>' ) . set_description ( '<STR_LIT>' ) . set_aliases ( [ '<STR_LIT>' ] ) <EOL> def interact ( self , input_ , output_ ) : <EOL> output_ . writeln ( '<STR_LIT>' ) <EOL> def execute ( self , input_ , output_ ) : <EOL> self . input = input_ <EOL> self . output = output_ <EOL> output_ . writeln ( '<STR_LIT>' ) <EOL> def foo_code ( i , o ) : <EOL> o . writeln ( '<STR_LIT>' ) <EOL> foo_commmand = { <EOL> '<STR_LIT>' : { <EOL> '<STR_LIT:description>' : '<STR_LIT>' , <EOL> '<STR_LIT>' : [ '<STR_LIT>' ] , <EOL> '<STR_LIT:code>' : foo_code <EOL> } <EOL> } </s>
