<s> """<STR_LIT>""" <EOL> from robotx . core . base import BaseCommand <EOL> from robotx . core . exceptions import UsageError <EOL> from robotx . core . generator import generate_res <EOL> from robotx . core . generator import generate_docs <EOL> from robotx . core . generator import generate_suite <EOL> from robotx . core . generator import generate_project <EOL> class Command ( BaseCommand ) : <EOL> """<STR_LIT>""" <EOL> def syntax ( self ) : <EOL> """<STR_LIT>""" <EOL> return "<STR_LIT>" <EOL> def short_desc ( self ) : <EOL> """<STR_LIT>""" <EOL> return "<STR_LIT>" <EOL> def long_desc ( self ) : <EOL> """<STR_LIT>""" <EOL> return "<STR_LIT>" <EOL> def add_options ( self , parser ) : <EOL> """<STR_LIT>""" <EOL> parser . add_option ( '<STR_LIT>' , '<STR_LIT>' , dest = "<STR_LIT>" , <EOL> metavar = "<STR_LIT>" , help = '<STR_LIT>' ) <EOL> parser . add_option ( '<STR_LIT>' , '<STR_LIT>' , dest = "<STR_LIT>" , <EOL> metavar = "<STR_LIT>" , <EOL> help = '<STR_LIT>' ) <EOL> parser . add_option ( '<STR_LIT>' , '<STR_LIT>' , dest = "<STR_LIT>" , <EOL> metavar = "<STR_LIT>" , <EOL> help = '<STR_LIT>' ) <EOL> parser . add_option ( '<STR_LIT>' , '<STR_LIT>' , dest = "<STR_LIT>" , <EOL> metavar = "<STR_LIT>" , <EOL> help = '<STR_LIT>' ) <EOL> def run ( self , args , opts ) : <EOL> """<STR_LIT>""" <EOL> project = opts . project_name <EOL> suite = opts . suite_name <EOL> res = opts . res_name <EOL> doc_project = opts . doc_project <EOL> if ( not project ) and ( not suite ) and ( not doc_project ) and ( not res ) : <EOL> raise UsageError ( "<STR_LIT>" ) <EOL> if project : <EOL> generate_project ( project ) <EOL> if suite : <EOL> generate_suite ( suite ) <EOL> if res : <EOL> generate_res ( res ) <EOL> if doc_project : <EOL> print '<STR_LIT:\n>' , '<STR_LIT>' . center ( <NUM_LIT> , '<STR_LIT:*>' ) <EOL> generate_docs ( doc_project ) <EOL> print '<STR_LIT:\n>' , '<STR_LIT>' . center ( <NUM_LIT> , '<STR_LIT:*>' ) </s>
