def endswithoneof(inputstr, seq):
    seq = set(seq)
    for item in seq:
        if inputstr.endswith(item):
            return item
    else:
        return None
Retrieve path to the CLI configuration file.
dataset/ETHPy150Open pycantonese/pycantonese/pycantonese/util.py/endswithoneof--crossover with--dataset/ETHPy150Open StackStorm/st2/st2client/st2client/shell.py/Shell._get_config_file_path