gl-cli-dso 0.0.0
A CLI tool to install internal SDKs and tools like conda or poetry.
License: MIT
Requires Python: <3.14,>=3.11
Keywords: cli, sdk, devtools

# 🚀 `gl` – DevSecOps Automation CLI

A lightweight CLI tool to manage internal SDKs and DevSecOps tools with AI-enhanced workflows. It supports installing, listing, showing, and uninstalling SDKs and utilities like Conda and Poetry.

---

## 📦 Features

- 📥 Install internal SDKs from GitHub over SSH
- 🧰 Install popular developer tools (Conda, Poetry) with OS support
- 📋 List and show details of installed SDKs/tools
- ❌ Uninstall SDKs/tools with confirmation
- 🤖 Future integration with LLMs for enhanced automation

---

## ⚙️ Requirements

- Python **3.11+**
- Git (with SSH access configured)
- `pip` and optionally `curl`
- Supports: **Linux**, **macOS (Intel/Apple Silicon)**, **WSL (Windows Subsystem for Linux)**

---

## 🛠️ Installation

```bash
git clone git@github.com:GDP-ADMIN/gdplabs-exploration.git
cd gdplabs-exploration
git switch gl-cli-exploration
pip install gl-0.0.0-py3-none-any.whl
```

---

## 📚 Usage

```bash
gl install sdk <repo-name> <library-name> [--version <v>] [--extras "a,b"]
gl install tools <tool-name>
gl show                         # List installed SDKs/tools
gl show <name>                 # Show details of an SDK/tool
gl show --all / -A             # Show all with versions
gl uninstall <name>           # Uninstall with confirmation
```

---

## 🔧 Commands

### 🔹 `install`
Install an SDK or supported tool:
```bash
gl install sdk gen-ai-internal gllm-core
gl install sdk gen-ai-internal gllm-core --version gllm_core-v0.1.1
gl install tools poetry
```

### 🔹 `show`
Show installed items or detail:
```bash
gl show                        # List all
gl show -A                    # List all with version
gl show gllm-docproc          # Detailed view
```

### 🔹 `uninstall`
Remove SDKs or tools with confirmation:
```bash
gl uninstall gllm-docproc
gl uninstall conda
```

---

## 🧪 Supported SDK


| SDK   | Library                                 |
|--------|------------------------------------------------|
| gen-ai-internal  | GLLM Core                  |

note: Others library got error with manual installation, still discuss with the developer

---
## 🧪 Supported Tools

| Tool   | Install Method                                 | Uninstall Method                         |
|--------|------------------------------------------------|------------------------------------------|
| Conda  | Downloads Miniconda installer                  | `$HOME/miniconda/uninstall -y`           |
| Poetry | Official install script via `install.python-poetry.org` | `--uninstall` flag                      |

---

## 🤝 Contributing

Pull requests welcome! Please open an issue first to discuss any big changes.

---

## 📁 Project Structure

```
gl/
├── commands
│   ├── install.py
│   ├── show.py
│   ├── uninstall.py
├── utils/
│   ├── constants.py
│   └── utils.py
└── __main__.py
```

---

## 🛠️ How to Contribute

### Requiremnet

- Python **3.11+**
- Git (with SSH access configured)
- `poetry`

```bash
git clone git@github.com:GDP-ADMIN/gdplabs-exploration.git
cd gdplabs-exploration
git switch gl-cli-exploration
poetry install
poetry run gl --help
```

---