<s> from lib import sensu <EOL> import argparse <EOL> import sys <EOL> parser = argparse . ArgumentParser ( description = '<STR_LIT>' ) <EOL> parser . add_argument ( '<STR_LIT>' , nargs = '<STR_LIT:?>' , dest = "<STR_LIT>" ) <EOL> parser . add_argument ( '<STR_LIT>' , nargs = '<STR_LIT:?>' , default = False ) <EOL> parser . add_argument ( '<STR_LIT>' , nargs = '<STR_LIT:?>' , default = False ) <EOL> args = parser . parse_args ( ) <EOL> checks = sensu . Checks ( '<STR_LIT>' ) <EOL> if not args . check : <EOL> print ( checks . list ( ) ) <EOL> sys . exit ( <NUM_LIT:0> ) <EOL> else : <EOL> if args . request : <EOL> print ( checks . request ( check = args . check , subscribers = args . subscribers ) ) <EOL> else : <EOL> print ( checks . get ( check = args . check ) ) </s>
