xtractl

xtractl is a CLI tool that allows you to control over certain parts of the running application that would otherwise require a restart.

Note

The major version of xtractl should match the major version of the ldproxy version that you are using.
So if you are for example using ldproxy version 3.6.4, you should use the most recent xtractl version 3.x.

Installation

Binary

Download the binary for your platform from the releasesopen in new window page and copy it to path of your liking. You may have to set the executable flag with chmod +x xtractl.

Docker

Pull the latest image: docker pull ghcr.io/ldproxy/xtractl

Usage

Help

All commands and subcommands have a --help flag, for example:

Binary

  • xtractl --help
  • xtractl entity --help
  • xtractl entity ls --help

Docker

  • docker run -it --rm ghcr.io/ldproxy/xtractl --help
  • docker run -it --rm ghcr.io/ldproxy/xtractl entity --help
  • docker run -it --rm ghcr.io/ldproxy/xtractl entity ls --help

Tips

If ldproxy is running on localhost and you are running xtractl with docker, you have to add the flag -h host.docker.internal.