Metadata-Version: 2.1
Name: command-line-assistant
Version: 0.5.2
Summary: With the command-line assistant you can get guidance and assistance with managing RHEL right from your command line, all by using natural language. The generative AI that powers the command-line assistant incorporates information from the RHEL product documentation and Red Hat Knowledgebase, and can help you understand, configure, and troubleshoot your RHEL systems. 
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.32.5)
Requires-Dist: sqlalchemy (==1.4.45)
Requires-Dist: markdown (<3.4)
Requires-Dist: tomli ; python_version < "3.11"
Requires-Dist: dasbus (~=1.4) ; python_version <= "3.9"
Requires-Dist: pygobject (~=3.40.1) ; 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

Take advantage of the AI-driven expertise of the command-line assistant to help you configure, manage, and troubleshoot RHEL

## 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 assistant` 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.


