<s> from os . path import expanduser <EOL> from jig . commands . base import BaseCommand <EOL> from jig . gitutils . hooking import ( <EOL> create_auto_init_templates , set_templates_directory ) <EOL> try : <EOL> import argparse <EOL> except ImportError : <EOL> from backports import argparse <EOL> _parser = argparse . ArgumentParser ( <EOL> description = '<STR_LIT>' , <EOL> usage = '<STR_LIT>' ) <EOL> class Command ( BaseCommand ) : <EOL> parser = _parser <EOL> def process ( self , argv ) : <EOL> with self . out ( ) as printer : <EOL> templates_directory = create_auto_init_templates ( expanduser ( '<STR_LIT>' ) ) <EOL> set_templates_directory ( templates_directory ) <EOL> printer ( '<STR_LIT>' ) </s>
