@cotctl/cli 0.3.1 → 0.3.2

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.
Files changed (2) hide show
  1. package/README.md +20 -14
  2. package/package.json +6 -6
package/README.md CHANGED
@@ -41,14 +41,17 @@ cotctl login --url https://mycompany.cotalker.com
41
41
  # 2. Ver perfil activo
42
42
  cotctl profile list
43
43
 
44
- # 3. Exportar surveys existentes
45
- cotctl export surveys -o ./surveys/
44
+ # 3. Listar surveys disponibles
45
+ cotctl surveys list
46
46
 
47
- # 4. Validar un archivo local
48
- cotctl validate -f ./surveys/my-survey.yaml
47
+ # 4. Exportar una survey por code
48
+ cotctl surveys export <code> -o ./survey.yaml
49
49
 
50
- # 5. Aplicar cambios al entorno
51
- cotctl apply -f ./surveys/my-survey.yaml
50
+ # 5. Validar un archivo local
51
+ cotctl validate -f ./survey.yaml
52
+
53
+ # 6. Aplicar cambios al entorno
54
+ cotctl apply -f ./survey.yaml
52
55
  ```
53
56
 
54
57
  ## Comandos
@@ -58,8 +61,8 @@ cotctl apply -f ./surveys/my-survey.yaml
58
61
  | `cotctl login` | Autenticarse y guardar un perfil de entorno |
59
62
  | `cotctl logout [profile]` | Cerrar sesión y eliminar un perfil |
60
63
  | `cotctl profile` | Listar, ver y gestionar perfiles guardados |
61
- | `cotctl get surveys` | Listar surveys del entorno |
62
- | `cotctl export surveys` | Exportar surveys como YAML o JSON |
64
+ | `cotctl surveys list` | Listar surveys del entorno |
65
+ | `cotctl surveys export <code>` | Exportar surveys como YAML o JSON |
63
66
  | `cotctl validate -f <file>` | Validar un archivo YAML localmente |
64
67
  | `cotctl apply -f <file>` | Crear o actualizar un recurso desde YAML |
65
68
  | `cotctl skills` | Gestionar Claude Code Skills |
@@ -90,7 +93,7 @@ cotctl soporta múltiples perfiles para trabajar con distintos entornos:
90
93
 
91
94
  ```bash
92
95
  # Usar un perfil específico en cualquier comando
93
- cotctl get surveys --company staging
96
+ cotctl surveys list --company staging
94
97
 
95
98
  # Ver todos los perfiles guardados
96
99
  cotctl profile list
@@ -106,9 +109,12 @@ cotctl incluye Skills para [Claude Code](https://claude.ai/code) que instalan he
106
109
 
107
110
  | Skill | Descripción |
108
111
  |-------|-------------|
109
- | `cotctl-survey` | Crear y modificar YAMLs de surveys vía cotctl |
112
+ | `cotctl-surveys` | Crear y modificar YAMLs de surveys vía cotctl |
110
113
  | `cotctl-apply` | Aplicar recursos YAML a entornos Cotalker |
111
114
  | `cotctl-export` | Exportar y consultar recursos desde Cotalker |
115
+ | `cotctl-roles` | Crear y gestionar roles de acceso y permisos en Cotalker |
116
+ | `cotctl-properties` | Generar tipos de propiedades y propiedades para Cotalker |
117
+ | `cotctl-workflows` | Crear y gestionar workflows, máquinas de estado y tareas |
112
118
  | `cotalker-docs` | Conocimiento general de la plataforma Cotalker |
113
119
 
114
120
  ### Gestión de skills
@@ -121,10 +127,10 @@ cotctl skills list
121
127
  cotctl skills install
122
128
 
123
129
  # Instalar uno específico globalmente
124
- cotctl skills install cotctl-survey --global
130
+ cotctl skills install cotctl-surveys --global
125
131
 
126
132
  # Desinstalar
127
- cotctl skills uninstall cotctl-survey --global
133
+ cotctl skills uninstall cotctl-surveys --global
128
134
  ```
129
135
 
130
136
  ## MCP Server
@@ -171,10 +177,10 @@ O usa cotctl directamente:
171
177
 
172
178
  ```bash
173
179
  # Scope global
174
- cotctl skills configure-mcp --global
180
+ cotctl mcp install --scope global
175
181
 
176
182
  # Scope local (proyecto actual)
177
- cotctl skills configure-mcp --local
183
+ cotctl mcp install --scope local
178
184
  ```
179
185
 
180
186
  </details>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cotctl/cli",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "description": "CLI para la plataforma Cotalker",
5
5
  "bin": {
6
6
  "cotctl": "bin/cotctl"
@@ -14,11 +14,11 @@
14
14
  "README.md"
15
15
  ],
16
16
  "optionalDependencies": {
17
- "@cotctl/cli-linux-x64": "0.3.1",
18
- "@cotctl/cli-linux-arm64": "0.3.1",
19
- "@cotctl/cli-darwin-x64": "0.3.1",
20
- "@cotctl/cli-darwin-arm64": "0.3.1",
21
- "@cotctl/cli-win-x64": "0.3.1"
17
+ "@cotctl/cli-linux-x64": "0.3.2",
18
+ "@cotctl/cli-linux-arm64": "0.3.2",
19
+ "@cotctl/cli-darwin-x64": "0.3.2",
20
+ "@cotctl/cli-darwin-arm64": "0.3.2",
21
+ "@cotctl/cli-win-x64": "0.3.2"
22
22
  },
23
23
  "publishConfig": {
24
24
  "registry": "https://registry.npmjs.org",