@principal-ai/principal-view-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.
- package/package.json +2 -2
- package/dist/commands/coverage.d.ts +0 -9
- package/dist/commands/coverage.d.ts.map +0 -1
- package/dist/commands/coverage.js +0 -158
- package/dist/commands/create.d.ts +0 -6
- package/dist/commands/create.d.ts.map +0 -1
- package/dist/commands/create.js +0 -50
- package/dist/commands/doctor.d.ts +0 -10
- package/dist/commands/doctor.d.ts.map +0 -1
- package/dist/commands/doctor.js +0 -274
- package/dist/commands/formats.d.ts +0 -6
- package/dist/commands/formats.d.ts.map +0 -1
- package/dist/commands/formats.js +0 -475
- package/dist/commands/hooks.d.ts +0 -9
- package/dist/commands/hooks.d.ts.map +0 -1
- package/dist/commands/hooks.js +0 -295
- package/dist/commands/init.d.ts +0 -6
- package/dist/commands/init.d.ts.map +0 -1
- package/dist/commands/init.js +0 -271
- package/dist/commands/lint.d.ts +0 -6
- package/dist/commands/lint.d.ts.map +0 -1
- package/dist/commands/lint.js +0 -506
- package/dist/commands/list.d.ts +0 -6
- package/dist/commands/list.d.ts.map +0 -1
- package/dist/commands/list.js +0 -80
- package/dist/commands/narrative/eval.d.ts +0 -3
- package/dist/commands/narrative/eval.d.ts.map +0 -1
- package/dist/commands/narrative/eval.js +0 -76
- package/dist/commands/narrative/index.d.ts +0 -3
- package/dist/commands/narrative/index.d.ts.map +0 -1
- package/dist/commands/narrative/index.js +0 -19
- package/dist/commands/narrative/inspect.d.ts +0 -3
- package/dist/commands/narrative/inspect.d.ts.map +0 -1
- package/dist/commands/narrative/inspect.js +0 -109
- package/dist/commands/narrative/list.d.ts +0 -3
- package/dist/commands/narrative/list.d.ts.map +0 -1
- package/dist/commands/narrative/list.js +0 -101
- package/dist/commands/narrative/render.d.ts +0 -3
- package/dist/commands/narrative/render.d.ts.map +0 -1
- package/dist/commands/narrative/render.js +0 -99
- package/dist/commands/narrative/test.d.ts +0 -3
- package/dist/commands/narrative/test.d.ts.map +0 -1
- package/dist/commands/narrative/test.js +0 -150
- package/dist/commands/narrative/utils.d.ts +0 -69
- package/dist/commands/narrative/utils.d.ts.map +0 -1
- package/dist/commands/narrative/utils.js +0 -158
- package/dist/commands/narrative/validate.d.ts +0 -3
- package/dist/commands/narrative/validate.d.ts.map +0 -1
- package/dist/commands/narrative/validate.js +0 -149
- package/dist/commands/schema.d.ts +0 -6
- package/dist/commands/schema.d.ts.map +0 -1
- package/dist/commands/schema.js +0 -336
- package/dist/commands/validate-execution.d.ts +0 -11
- package/dist/commands/validate-execution.d.ts.map +0 -1
- package/dist/commands/validate-execution.js +0 -223
- package/dist/commands/validate.d.ts +0 -6
- package/dist/commands/validate.d.ts.map +0 -1
- package/dist/commands/validate.js +0 -1065
- package/dist/index.cjs +0 -243779
- package/dist/index.cjs.map +0 -7
- package/dist/index.d.ts +0 -8
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -45
package/dist/index.d.ts
DELETED
package/dist/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG"}
|
package/dist/index.js
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Principal View CLI - Main entry point
|
|
3
|
-
*
|
|
4
|
-
* This CLI provides tools to validate and manage .canvas configuration files
|
|
5
|
-
* for the Principal View Framework.
|
|
6
|
-
*/
|
|
7
|
-
import { Command } from 'commander';
|
|
8
|
-
import { createValidateCommand } from './commands/validate.js';
|
|
9
|
-
import { createValidateExecutionCommand } from './commands/validate-execution.js';
|
|
10
|
-
import { createInitCommand } from './commands/init.js';
|
|
11
|
-
import { createListCommand } from './commands/list.js';
|
|
12
|
-
import { createSchemaCommand } from './commands/schema.js';
|
|
13
|
-
import { createFormatsCommand } from './commands/formats.js';
|
|
14
|
-
import { createDoctorCommand } from './commands/doctor.js';
|
|
15
|
-
import { createHooksCommand } from './commands/hooks.js';
|
|
16
|
-
import { createCreateCommand } from './commands/create.js';
|
|
17
|
-
import { createLintCommand } from './commands/lint.js';
|
|
18
|
-
import { createCoverageCommand } from './commands/coverage.js';
|
|
19
|
-
import { createNarrativeCommand } from './commands/narrative/index.js';
|
|
20
|
-
// Version is injected at build time via package.json
|
|
21
|
-
const VERSION = '0.2.3';
|
|
22
|
-
const program = new Command();
|
|
23
|
-
program
|
|
24
|
-
.name('privu')
|
|
25
|
-
.description('Principal View CLI - Validate and manage .canvas configuration files')
|
|
26
|
-
.version(VERSION);
|
|
27
|
-
// Add commands
|
|
28
|
-
program.addCommand(createInitCommand());
|
|
29
|
-
program.addCommand(createCreateCommand());
|
|
30
|
-
program.addCommand(createValidateCommand());
|
|
31
|
-
program.addCommand(createValidateExecutionCommand());
|
|
32
|
-
program.addCommand(createLintCommand());
|
|
33
|
-
program.addCommand(createListCommand());
|
|
34
|
-
program.addCommand(createSchemaCommand());
|
|
35
|
-
program.addCommand(createFormatsCommand());
|
|
36
|
-
program.addCommand(createDoctorCommand());
|
|
37
|
-
program.addCommand(createHooksCommand());
|
|
38
|
-
program.addCommand(createCoverageCommand());
|
|
39
|
-
program.addCommand(createNarrativeCommand());
|
|
40
|
-
// Parse command line arguments
|
|
41
|
-
program.parse(process.argv);
|
|
42
|
-
// Show help if no command provided
|
|
43
|
-
if (!process.argv.slice(2).length) {
|
|
44
|
-
program.outputHelp();
|
|
45
|
-
}
|