@onion-architect-ai/cli 4.1.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +67 -0
- package/bin/onion.js +8 -0
- package/dist/cli.d.ts +1 -0
- package/dist/cli.js +1952 -0
- package/dist/cli.js.map +1 -0
- package/package.json +74 -0
package/README.md
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
# @onion-architect-ai/cli
|
|
2
|
+
|
|
3
|
+
CLI para Sistema Onion - Multi-Context Development Orchestrator
|
|
4
|
+
|
|
5
|
+
## 🎯 Instalação
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
# Global
|
|
9
|
+
npm install -g @onion-architect-ai/cli
|
|
10
|
+
|
|
11
|
+
# Local (projeto)
|
|
12
|
+
npm install @onion-architect-ai/cli
|
|
13
|
+
|
|
14
|
+
# Local (development)
|
|
15
|
+
cd packages/onion-cli
|
|
16
|
+
npm install
|
|
17
|
+
npm link
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
## 🚀 Uso
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
# Inicializar Sistema Onion
|
|
24
|
+
onion init
|
|
25
|
+
|
|
26
|
+
# Adicionar contexto
|
|
27
|
+
onion add context
|
|
28
|
+
|
|
29
|
+
# Adicionar IDE
|
|
30
|
+
onion add ide
|
|
31
|
+
|
|
32
|
+
# Migrar de v3
|
|
33
|
+
onion migrate
|
|
34
|
+
|
|
35
|
+
# Ajuda
|
|
36
|
+
onion help
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
## 📋 Comandos
|
|
40
|
+
|
|
41
|
+
| Comando | Descrição | Status |
|
|
42
|
+
|---------|-----------|--------|
|
|
43
|
+
| `onion init` | Wizard interativo para criar projeto | ✅ |
|
|
44
|
+
| `onion add <type>` | Adicionar contexto ou IDE | ✅ |
|
|
45
|
+
| `onion migrate` | Migrar de v3 para v4 | ✅ |
|
|
46
|
+
| `onion help` | Mostrar ajuda | ✅ |
|
|
47
|
+
|
|
48
|
+
**Nota:** Para configuração e validação pós-init, use o comando Cursor `/onion/setup`
|
|
49
|
+
|
|
50
|
+
## 🧙 Wizard `onion init`
|
|
51
|
+
|
|
52
|
+
O comando `onion init` executa um wizard de 4 passos:
|
|
53
|
+
|
|
54
|
+
1. **Project Type**: Monorepo, Single App, ou Library
|
|
55
|
+
2. **Contexts**: Selecionar contextos (business, technical, CS, etc)
|
|
56
|
+
3. **IDEs**: Detecção automática + seleção manual
|
|
57
|
+
4. **Integrations**: Task manager, transcription, etc
|
|
58
|
+
|
|
59
|
+
## 📚 Documentação
|
|
60
|
+
|
|
61
|
+
Veja documentação completa em [docs/onion/](../../docs/onion/)
|
|
62
|
+
|
|
63
|
+
---
|
|
64
|
+
|
|
65
|
+
**Versão**: 1.0.0
|
|
66
|
+
**License**: MIT
|
|
67
|
+
|
package/bin/onion.js
ADDED
package/dist/cli.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
#!/usr/bin/env node
|