Add AI routing and schema export for pwcli (#32)

* Enhance help documentation by adding 'schema' subcommand details and examples for AI commands

* updated models for translate

* updated gpt models

* Add command discovery and routing functionality to CLI

* added schema
This commit is contained in:
Arwid Thornström
2026-02-11 09:39:22 +01:00
committed by GitHub
parent 92e69f8322
commit e78ffc1a40
4 changed files with 817 additions and 2 deletions
+5 -1
View File
@@ -7,6 +7,7 @@
```
pwcli
├── ai (ai)
│ ├── schema (sc) .................................... ai sc
│ └── promptcontextlibrary (pcl) ..................... ai pcl
├── aws (a)
@@ -73,9 +74,12 @@ Commands can be executed using their aliases. For example:
AI-related commands
#### Subcommands:
- **schema** (alias: `sc`) - Output detailed pwcli command schema for LLM usage
- **promptcontextlibrary** (alias: `pcl`) - Copy context files to clipboard for AI prompts
**Example:** `pwcli ai pcl`
**Examples:**
- `pwcli ai sc`
- `pwcli ai pcl`
---