rlang::local_interactive()
withr::local_envvar(CLIPR_ALLOW = TRUE)
clipr::write_clip("curl 'http://example.com' \\\n -H 'A: 1' \\\n -H 'B: 2'")
httr2::curl_translate()
#> Error in if (grepl("'", cmd)) {: the condition has length > 1
Created on 2023-08-02 with reprex v2.0.2