<s> import argparse <EOL> import logging <EOL> logger = logging . getLogger ( __name__ ) <EOL> from nymms . utils import logutil <EOL> def setup_logging ( verbose = False ) : <EOL> level = logutil . INFO <EOL> if verbose : <EOL> level = logutil . DEBUG <EOL> if not verbose > <NUM_LIT:1> : <EOL> logutil . quiet_boto_logging ( ) <EOL> return logutil . setup_root_logger ( stdout = level ) <EOL> class NymmsCommandArgs ( argparse . ArgumentParser ) : <EOL> def __init__ ( self , * args , ** kwargs ) : <EOL> super ( NymmsCommandArgs , self ) . __init__ ( * args , ** kwargs ) <EOL> self . add_argument ( '<STR_LIT>' , '<STR_LIT>' , action = '<STR_LIT:count>' , default = <NUM_LIT:0> ) <EOL> self . add_argument ( '<STR_LIT:-c>' , '<STR_LIT>' , default = '<STR_LIT>' ) </s>
