def collect(self, step, content):
        '''given a name of a configuration key and the provided content, collect
           the required metadata from the user.
 
           Parameters
           ==========
           step: the key in the configuration. Can be one of:
                   user_message_<name>
                   runtime_arg_<name>
                   record_asciinema
                   record_environment
                   user_prompt_<name>
           content: the default value or boolean to indicate doing the step.
        '''

        # Option 1: The step is just a message to print to the user
        if step.startswith('user_message'):
            print(content)   
     
        # Option 2: The step is to collect a user prompt (if not at runtime)
        elif step.startswith('user_prompt'):
            self.collect_argument(step, content)

        # Option 3: The step is to record an asciinema!
        elif step == 'record_asciinema':
            self.record_asciinema()

        # Option 4: Record the user environment
        elif step == "record_environment":
            self.record_environment()

        bot.debug(self.data)
def collect ( self , step , content ) : if step . startswith ( 'user_message' ) : print ( content ) elif step . startswith ( 'user_prompt' ) : self . collect_argument ( step , content ) elif step == 'record_asciinema' : self . record_asciinema ( ) elif step == "record_environment" : self . record_environment ( ) bot . debug ( self . data )
given a name of a configuration key and the provided content, collect
           the required metadata from the user.
 
           Parameters
           ==========
           step: the key in the configuration. Can be one of:
                   user_message_<name>
                   runtime_arg_<name>
                   record_asciinema
                   record_environment
                   user_prompt_<name>
           content: the default value or boolean to indicate doing the step.