Metadata-Version: 2.1
Name: command-line-assistant
Version: 0.4.2
Summary: A simple wrapper to interact with RAG
Home-page: https://github.com/rhel-lightspeed/command-line-assistant.git
Author: RHEL Lightspeed Team
Author-email: rhel-sst-lightspeed@redhat.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.9,<4.0
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests (==2.25.1)
Requires-Dist: sqlalchemy (==1.4.45)
Requires-Dist: tomli ; python_version < "3.11"
Requires-Dist: dasbus (==1.5) ; python_version <= "3.9"
Requires-Dist: pygobject (==3.40) ; python_version <= "3.9"
Requires-Dist: dasbus (==1.7) ; python_version >= "3.12"
Requires-Dist: pygobject (==3.46) ; python_version >= "3.12"

# Command Line Assistant

A simple wrapper to interact with RAG

## Contributing

Contributions are welcome. Take a look at [CONTRIBUTING.md](CONTRIBUTING.md) for more information on how to get started.

## Trying CLA

The `Command Line Assistant` client RPM is available for some versions of RHEL, currently it
is available for RHEL 10 and RHEL 9.

On a RHEL-10 system, after registering with subscription-manager(8) or rhc(8), simply install
the `command-line-assistant` RPM with dnf(8).

```sh
sudo dnf install -y command-line-assistant
```

> **NOTE:**
>
> When a non-standard subscription is being used, before one can ask
> questions through the `Command Line Assistant`, one needs to alter the
> `Command Line Assistant` configuration file to include the backend
> endpoint URL and proxy value for the non-standard subscription.
>
> The `Command Line Assistent` configuration file is maintained here:
> `/etc/xdg/command-line-assistant/config.toml`
>
> In this case modify `/etc/xdg/command-line-assistant/config.toml` to have lines of the form:
>
> ```toml
> [backend]
> endpoint = "https://<custom console hostname>/api/lightspeed/v1"
> proxies = { https = "http://<custom proxy hosthname>:<custom proxy port>" }
> ```
>
> Then restart the `Command Line Assistant Daemon Service, clad.service`
>
> ```sh
> systemctl restart clad.service
> ```

Now it will be possible to ask questions through the `Command Line Assistant`.

```sh
c "How to uninstall RHEL?"
```

## Contact

For questions, troubleshooting, bug reports and feature requests:

* Create [an issue](https://github.com/rhel-lightspeed/command-line-assistant/issues/new) here on GitHub.


