# HAProxy Runtime-API CLI

**URL:** <https://discourse.haproxy.org/t/haproxy-runtime-api-cli/11619>\
**Category:** Experimental\
**Created:** [February 16, 2025, 12:23pm UTC](https://discourse.haproxy.org/t/haproxy-runtime-api-cli/11619 "2025-02-16T12:23:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![digitalkaoz](https://avatars.discourse-cdn.com/v4/letter/d/7ba0ec/32.png) [@digitalkaoz](https://discourse.haproxy.org/u/digitalkaoz)\
**Post date:** [February 16, 2025, 12:23pm UTC](https://discourse.haproxy.org/t/haproxy-runtime-api-cli/11619/1 "2025-02-16T12:23:22Z")

</div>

Hey Folks,

i want to introduce a new CLI interacting with the Runtime-API and like to gather feedback. If its useful et all and what could be improved. It was more or less a weekend project because i was tired using socat and always lookup the commands from the official documentation.

So i combined everything into one small CLI utility written in GO with the help of the lovely [https://charm.sh](https://charm.sh) library.

What does it do:

- present a nice (hopefully) table about all backends and servers (parsed from the `show servers state` command)
- present a filterable list of all commands available (parsed from the `help` command)
- make it easy to choose a command from this list, and execute it (with a help about available arguments)

here is the github repo: [GitHub - digitalkaoz/haproxy-runtime-cli: a interactive CLI utility dealing with the HAProxy runtime API](https://github.com/digitalkaoz/haproxy-runtime-cli) under the latest release you will find a dedicated binary for your OS.

Thanks for feedback in advance 🙂

---

<div class="post-metadata">

**Author:** ![lukastribus](https://avatars.discourse-cdn.com/v4/letter/l/7ea924/32.png) [@lukastribus](https://discourse.haproxy.org/u/lukastribus)\
**Post date:** [February 17, 2025, 3:52pm UTC](https://discourse.haproxy.org/t/haproxy-runtime-api-cli/11619/2 "2025-02-17T15:52:56Z")

</div>

This looks very nice!

You should post it to the mailing list as well, you will reach more people there.

You don’t need to subscribe, you can write directly to [haproxy@formilux.org](mailto:haproxy@formilux.org).

Thank you!
