def all_option_names():
    opts = set([OPTION_HELP.short_name, OPTION_HELP.long_name])
    for command in COMMAND_OPTIONS:
        for opt in COMMAND_OPTIONS[command]:
            if opt.short_name and opt.short_name.startswith('-'):
                opts.add(opt.short_name)
            if opt.long_name and opt.long_name.startswith('--'):
                opts.add(opt.long_name)
    return sorted(list(opts))
Helper method to go through all commands and return all option names,
dataset/ETHPy150Open j-bennet/wharfee/wharfee/options.py/all_option_names