def __init__(self):
<EOL>self.parser = argparse.ArgumentParser(description='<STR_LIT>')<EOL>self.parser.add_argument('<STR_LIT>', '<STR_LIT>', dest='<STR_LIT>', required=True, help='<STR_LIT>')<EOL>self.parser.add_argument('<STR_LIT>', '<STR_LIT>', dest='<STR_LIT>', default=None, help='<STR_LIT>')<EOL>self.parser.add_argument('<STR_LIT>', '<STR_LIT>', dest='<STR_LIT>', required=True, help='<STR_LIT>')<EOL>self.args = self.parser.parse_args()<EOL>self.read_config()<EOL>webfinger = self.args.webfinger<EOL>client = Client(<EOL>webfinger=webfinger,<EOL>type='<STR_LIT>',<EOL>name=self.client_name,<EOL>key=self.config.get(webfinger, {}).get('<STR_LIT:key>'),<EOL>secret=self.config.get(webfinger, {}).get('<STR_LIT>'),<EOL>)<EOL>self.pump = PyPump(<EOL>client=client,<EOL>token=self.config.get(webfinger, {}).get('<STR_LIT>'),<EOL>secret=self.config.get(webfinger, {}).get('<STR_LIT>'),<EOL>verifier_callback=self.verifier,<EOL>)<EOL>self.config[webfinger] = {<EOL>'<STR_LIT:key>': self.pump.get_registration()[<NUM_LIT:0>],<EOL>'<STR_LIT>': self.pump.get_registration()[<NUM_LIT:1>],<EOL>'<STR_LIT>': self.pump.get_token()[<NUM_LIT:0>],<EOL>'<STR_LIT>': self.pump.get_token()[<NUM_LIT:1>],<EOL>}<EOL>self.write_config()<EOL>
Init app and log in to our pump.io account