airgen-cli 0.6.0 → 0.7.0

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.
@@ -34,7 +34,8 @@ export function registerTraceabilityCommands(program, client) {
34
34
  .requiredOption("--source <id>", "Source requirement ID")
35
35
  .requiredOption("--target <id>", "Target requirement ID")
36
36
  .requiredOption("--type <type>", "Link type: satisfies, derives, verifies, implements, refines, conflicts")
37
- .option("--description <desc>", "Description")
37
+ .option("--description <desc>", "Short description for traceability matrices")
38
+ .option("--rationale <text>", "Engineering justification for why this link exists")
38
39
  .action(async (tenant, projectKey, opts) => {
39
40
  const data = await client.post("/trace-links", {
40
41
  tenant,
@@ -43,6 +44,7 @@ export function registerTraceabilityCommands(program, client) {
43
44
  targetRequirementId: opts.target,
44
45
  linkType: opts.type,
45
46
  description: opts.description,
47
+ rationale: opts.rationale,
46
48
  });
47
49
  if (isJsonMode()) {
48
50
  output(data);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "airgen-cli",
3
- "version": "0.6.0",
3
+ "version": "0.7.0",
4
4
  "description": "AIRGen CLI — requirements engineering from the command line",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",