# BalkanID extractor CLI

BalkanID Extractor CLI is a command line interface that provides commands to pull and query entitlements for a given application.

BalkanID Extractor CLI is a binary that can be pulled from Homebrew or Scoop. The CLI uses a minimalistic sqlite database for storing the entitlements locally to facilitate querying, and can generate raw console text or parquet file or csv file. The csv file generated by the BalkanID Extractor CLI is a supported entitlements format can be directly uploaded via BalkanID APIs and web application.&#x20;

## **Getting Started on BalkanID Extractor CLI via Homebrew**

Once you have downloaded Homebrew on your machine, you can follow the following steps. To download brew, go to [**https://brew.sh/**](https://brew.sh/)

```
brew tap balkanid/cli
```

```
brew install balkanid-cli
```

The above command will install the balkanid-cli on your machine. Once its installed, just type the following and get started.

```
balkanid-cli help
```

<figure><img src="https://content.gitbook.com/content/bVGYwk8aSk5yI1GDPEW9/blobs/ibDHO8hMO4ETcLJNWt5G/image.png" alt=""><figcaption></figcaption></figure>

To get started with an extractor, just type the following which will list the various application integrations supported.

```
balkanid-cli extractor --help
```

The following command displays the list of integrations or extractors supported.&#x20;

<pre><code><strong>balkanid-cli extractor -h
</strong></code></pre>

<figure><img src="https://content.gitbook.com/content/bVGYwk8aSk5yI1GDPEW9/blobs/PVGv8CsTFMi2jUfQxvYO/image.png" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.balkan.id/getting-started/balkanid-cli/balkanid-extractor-cli.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
