openprompt-lang 1.2.3 → 1.2.4
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/package.json
CHANGED
|
@@ -32,6 +32,10 @@ export async function init(options) {
|
|
|
32
32
|
name: chalk.blue(" Proyecto existente — Configurar OPL en proyecto ya iniciado"),
|
|
33
33
|
value: "existing",
|
|
34
34
|
})
|
|
35
|
+
choices.push({
|
|
36
|
+
name: chalk.magenta(" Entorno Académico — Biblioteca de conocimiento / Estudio"),
|
|
37
|
+
value: "knowledge",
|
|
38
|
+
})
|
|
35
39
|
|
|
36
40
|
const { projectType } = await inquirer.prompt([
|
|
37
41
|
{
|
|
@@ -48,6 +52,11 @@ export async function init(options) {
|
|
|
48
52
|
return initExisting(options)
|
|
49
53
|
}
|
|
50
54
|
|
|
55
|
+
if (projectType === "knowledge") {
|
|
56
|
+
const { initKnowledgeRepo } = await import("./opl-init-knowledge.js")
|
|
57
|
+
return initKnowledgeRepo(options)
|
|
58
|
+
}
|
|
59
|
+
|
|
51
60
|
if (projectType === "existing") return initExisting(options)
|
|
52
61
|
}
|
|
53
62
|
|