<s> from jig . commands . base import BaseCommand <EOL> from jig . commands . hints import AFTER_INIT <EOL> from jig . gitutils . hooking import hook <EOL> from jig . plugins import initializer <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> _parser . add_argument ( <EOL> '<STR_LIT:path>' , default = '<STR_LIT:.>' , nargs = '<STR_LIT:?>' , <EOL> help = '<STR_LIT>' ) <EOL> class Command ( BaseCommand ) : <EOL> parser = _parser <EOL> def process ( self , argv ) : <EOL> path = argv . path <EOL> with self . out ( ) as printer : <EOL> hook ( path ) <EOL> initializer ( path ) <EOL> printer ( <EOL> '<STR_LIT>' <EOL> ) <EOL> printer ( AFTER_INIT ) </s>
