httpie / cli

🥧 HTTPie CLI — modern, user-friendly command-line HTTP client for the API era. JSON support, colors, sessions, downloads, plugins & more.
https://httpie.io
BSD 3-Clause "New" or "Revised" License
32.67k stars 3.68k forks source link

Add cli option to generate scriptable or compilable code, or a native executable, that performs the command wherein the option was included #1555

Open matthewadams opened 5 months ago

matthewadams commented 5 months ago

Checklist


Enhancement request

Basically, this feature request is identical to curl's --libcurl feature, https://everything.curl.dev/libcurl/libcurl. It could improve on it by producing languages other than C, like Node.js/JavaScript, KotlinScript, Python, etc, or even native executables.


Problem it solves

The feature makes it extremely simple and less error-prone to create and share httpie commands.


Additional information

See https://everything.curl.dev/libcurl/libcurl