# Arguments:
# $1: Config ini path
client_tool_install_wizard_disable()
{
    local configFilePath="$1"
    local output

    output="$("${CLIENT_TOOL}" -machine-readable install.wizard.disable -config-path="${configFilePath}" 2>/dev/null)"
    local errorCode=$?
    if [ ${errorCode} -ne 0 ]; then
        client_tool_alert_user "Failed to disable install wizard."
        return 1
    fi

    echo "${output}"
}

# Arguments:
# $1: Config ini path
client_tool_is_device_configured()
{
    local configFilePath="$1"
    local output

    output="$("${CLIENT_TOOL}" -machine-readable install.device.is-configured -config-path="${configFilePath}" 2>/dev/null)"
    local errorCode=$?
    if [ ${errorCode} -ne 0 ]; then
        client_tool_alert_user "There is no configured device found."
        return 1
    fi

    echo "${output}"
}
