<s> from __future__ import print_function <EOL> import sys <EOL> import textwrap <EOL> from os . path import dirname , join , abspath <EOL> sys . path . insert ( <NUM_LIT:0> , join ( dirname ( dirname ( abspath ( __file__ ) ) ) , "<STR_LIT>" ) ) <EOL> try : <EOL> import cmdln <EOL> finally : <EOL> del sys . path [ <NUM_LIT:0> ] <EOL> class Conan ( cmdln . Cmdln ) : <EOL> name = "<STR_LIT>" <EOL> def do_hello ( self , subcmd , opts ) : <EOL> """<STR_LIT>""" <EOL> print ( "<STR_LIT>" ) <EOL> @ cmdln . option ( "<STR_LIT>" , "<STR_LIT>" , help = "<STR_LIT>" ) <EOL> def do_crush ( self , subcmd , opts , * enemies ) : <EOL> """<STR_LIT>""" <EOL> action = { <EOL> None : "<STR_LIT>" , <EOL> "<STR_LIT>" : "<STR_LIT>" , <EOL> "<STR_LIT>" : "<STR_LIT>" , <EOL> "<STR_LIT>" : "<STR_LIT>" , <EOL> } . get ( opts . weapon , None ) <EOL> if not action : <EOL> print ( "<STR_LIT>" ) <EOL> else : <EOL> for enemy in enemies : <EOL> print ( "<STR_LIT>" % ( action , enemy ) ) <EOL> print ( "<STR_LIT>" ) <EOL> @ cmdln . alias ( "<STR_LIT>" , "<STR_LIT>" ) <EOL> def do_what_is_best_in_life ( self , subcmd , opts ) : <EOL> """<STR_LIT>""" <EOL> print ( textwrap . dedent ( """<STR_LIT>""" ) ) <EOL> if __name__ == "<STR_LIT:__main__>" : <EOL> conan = Conan ( ) <EOL> sys . exit ( conan . main ( ) ) </s>
