<s> import argparse <EOL> import ConfigParser <EOL> from cloudferry_devlab import generate_load <EOL> from cloudferry_devlab . tests import base <EOL> from cloudferry_devlab . tests import config <EOL> def main ( ) : <EOL> parser = argparse . ArgumentParser ( <EOL> description = '<STR_LIT>' <EOL> '<STR_LIT>' ) <EOL> parser . add_argument ( '<STR_LIT>' , help = '<STR_LIT>' <EOL> '<STR_LIT>' , <EOL> action = '<STR_LIT:store_true>' ) <EOL> parser . add_argument ( '<STR_LIT>' , default = '<STR_LIT>' , choices = [ '<STR_LIT>' , '<STR_LIT>' ] , <EOL> help = '<STR_LIT>' ) <EOL> parser . add_argument ( '<STR_LIT>' , default = '<STR_LIT:.>' , <EOL> help = '<STR_LIT>' ) <EOL> parser . add_argument ( '<STR_LIT>' , type = argparse . FileType ( '<STR_LIT:r>' ) , <EOL> help = '<STR_LIT>' ) <EOL> args = parser . parse_args ( ) <EOL> confparser = ConfigParser . ConfigParser ( ) <EOL> confparser . readfp ( args . cloudsconf ) <EOL> cloudsconf = base . get_dict_from_config_file ( confparser ) <EOL> preqs = generate_load . Prerequisites ( config = config , <EOL> configuration_ini = cloudsconf , <EOL> cloud_prefix = args . env , <EOL> results_path = args . generation_results ) <EOL> if args . clean : <EOL> preqs . clean_tools . clean_objects ( ) <EOL> else : <EOL> preqs . run_preparation_scenario ( ) <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> main ( ) </s>
