Metadata-Version: 2.4
Name: hphuc15
Version: 0.1.0
Summary: Personal CLI toolbox
Author: hphuc15
License: MIT
Project-URL: Homepage, https://github.com/hphuc15/hp-cli
Project-URL: Repository, https://github.com/hphuc15/hp-cli
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# hphuc15 (hp-cli)

A personal CLI toolbox.

## Install

Editable install - edit the code, changes apply immediately, no reinstall needed.

**WSL / Linux (bash):**
```bash
cd hp-cli
pip install -e . --break-system-packages
```

**Windows (PowerShell):**
```powershell
cd hp-cli
pip install -e .
```

> WSL and Windows use separate Python interpreters, so install in both if you want `hp` available in both. Same source, two installs.

Verify:
```bash
hp tree
```

## Uninstall

```bash
pip uninstall hp-cli
```

## Commands

| Command | Description |
|---|---|
| `hp tree` | Print a directory tree, skipping common junk dirs (`.git`, `node_modules`, `__pycache__`, `venv`, `build`, `dist`, `.idea`, `.vscode`) |

### `hp tree`

| Usage | Meaning |
|---|---|
| `hp tree` | Tree of the current directory |
| `hp tree ./path` | Specify root directory |
| `hp tree -a` | Show hidden files/dirs |
| `hp tree -L 2` | Limit depth to 2 levels |
| `hp tree -d` | List directories only |
| `hp tree -I "*.egg-info"` | Add an ignore pattern (repeatable) |
| `hp tree -o` | Export tree + file contents to `<root>_tree.md` |
| `hp tree -o custom.md` | Export to a specific file |
