@criterionx/cli 0.3.1 → 0.3.3
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/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -633,7 +633,7 @@ async function validateCommand(options) {
|
|
|
633
633
|
|
|
634
634
|
// src/index.ts
|
|
635
635
|
var program = new Command();
|
|
636
|
-
program.name("criterion").description("CLI for scaffolding and managing Criterion decisions").version("0.3.
|
|
636
|
+
program.name("criterion").description("CLI for scaffolding and managing Criterion decisions").version("0.3.2");
|
|
637
637
|
program.command("init").description("Initialize a new Criterion project").option("-d, --dir <directory>", "Target directory", ".").option("--no-install", "Skip npm install").action(initCommand);
|
|
638
638
|
program.command("new").description("Generate new Criterion components").argument("<type>", "Type to generate (decision, profile)").argument("<name>", "Name of the component").option("-d, --dir <directory>", "Target directory", "src/decisions").action(newCommand);
|
|
639
639
|
program.command("list").description("List all decisions in the project").option("-d, --dir <directory>", "Directory to search", ".").option("--json", "Output as JSON").action(listCommand);
|