<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> 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> clients = sensu . Clients ( '<STR_LIT>' ) <EOL> if not args . client : <EOL> print ( clients . list ( limit = args . limit , offset = args . offset ) ) <EOL> sys . exit ( <NUM_LIT:0> ) <EOL> if args . history : <EOL> print ( clients . history ( args . client ) ) <EOL> elif args . delete : <EOL> print ( clients . delete ( args . client ) ) <EOL> else : <EOL> print ( clients . get ( args . client ) ) </s>
