def get_params():
    parser = argparse.ArgumentParser(description='Python tool to control MagicBlue bulbs over Bluetooth')
    parser.add_argument('-l', '--list_commands', dest='list_commands', help='List available commands', action='store_true')
    parser.add_argument('-c', '--command', dest='command', help='Command to execute')
    parser.add_argument('-m', '--mac_address', dest='mac_address', help='Device mac address. Must be set if command given in -c needs you to be connected')
    parser.add_argument('-a', '--bluetooth_adapter', default='hci0', dest='bluetooth_adapter', help='Bluetooth adapter name as listed by hciconfig')
    parser.add_argument('-b', '--bulb-version', default='7', dest='bulb_version', type=int, help='Bulb version as displayed in the official app')
    return parser.parse_args()
def get_params():
    parser = argparse.ArgumentParser(description='Python tool to control MagicBlue bulbs over Bluetooth')
    parser.add_argument('-l', '--list_commands', dest='list_commands', help='List available commands', action='store_true')
    parser.add_argument('-c', '--command', dest='command', help='Command to execute')
    parser.add_argument('-m', '--mac_address', dest='mac_address', help='Device mac address. Must be set if command given in -c needs you to be connected')
    parser.add_argument('-a', '--bluetooth_adapter', default='hci0', dest='bluetooth_adapter', help='Bluetooth adapter name as listed by hciconfig')
    parser.add_argument('-b', '--bulb-version', default='7', dest='bulb_version', type=int, help='Bulb version as displayed in the official app')
    return parser.parse_args()