<s> from cliff import command <EOL> from fuel_bootstrap . utils import bootstrap_image as bs_image <EOL> class ActivateCommand ( command . Command ) : <EOL> """<STR_LIT>""" <EOL> def get_parser ( self , prog_name ) : <EOL> parser = super ( ActivateCommand , self ) . get_parser ( prog_name ) <EOL> parser . add_argument ( <EOL> '<STR_LIT:id>' , <EOL> type = str , <EOL> metavar = '<STR_LIT>' , <EOL> help = "<STR_LIT>" <EOL> "<STR_LIT>" <EOL> "<STR_LIT>" <EOL> ) <EOL> parser . add_argument ( <EOL> '<STR_LIT>' , <EOL> help = "<STR_LIT>" , <EOL> action = '<STR_LIT:store_true>' <EOL> ) <EOL> return parser <EOL> def take_action ( self , parsed_args ) : <EOL> image_uuid = bs_image . call_wrapped_method ( <EOL> '<STR_LIT>' , <EOL> parsed_args . notify_webui , <EOL> image_uuid = parsed_args . id ) <EOL> self . app . stdout . write ( "<STR_LIT>" <EOL> . format ( image_uuid ) ) </s>
