@rigour-labs/cli 1.7.0 → 2.0.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.
package/dist/cli.js CHANGED
@@ -16,7 +16,7 @@ const program = new commander_1.Command();
16
16
  program
17
17
  .name('rigour')
18
18
  .description('🛡️ Rigour: The Quality Gate Loop for AI-Assisted Engineering')
19
- .version('1.3.0')
19
+ .version('2.0.0')
20
20
  .addHelpText('before', chalk_1.default.bold.cyan(`
21
21
  ____ _
22
22
  / __ \\(_)____ ___ __ __ _____
@@ -45,9 +45,11 @@ program
45
45
  .description('Run quality gate checks')
46
46
  .option('--ci', 'CI mode (minimal output, non-zero exit on fail)')
47
47
  .option('--json', 'Output report in JSON format')
48
+ .option('-i, --interactive', 'Run in interactive mode with rich output')
48
49
  .addHelpText('after', `
49
50
  Examples:
50
- $ rigour check # Run interactive check
51
+ $ rigour check # Run standard check
52
+ $ rigour check --interactive # Run with rich, interactive output
51
53
  $ rigour check --ci # Run in CI environment
52
54
  `)
53
55
  .action(async (options) => {
@@ -1,5 +1,6 @@
1
1
  export interface CheckOptions {
2
2
  ci?: boolean;
3
3
  json?: boolean;
4
+ interactive?: boolean;
4
5
  }
5
6
  export declare function checkCommand(cwd: string, options?: CheckOptions): Promise<void>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rigour-labs/cli",
3
- "version": "1.7.0",
3
+ "version": "2.0.0",
4
4
  "bin": {
5
5
  "rigour": "dist/cli.js"
6
6
  },
@@ -20,7 +20,7 @@
20
20
  "fs-extra": "^11.2.0",
21
21
  "globby": "^14.0.1",
22
22
  "yaml": "^2.8.2",
23
- "@rigour-labs/core": "1.7.0"
23
+ "@rigour-labs/core": "2.0.0"
24
24
  },
25
25
  "devDependencies": {
26
26
  "@types/fs-extra": "^11.0.4",
package/src/cli.ts CHANGED
@@ -13,7 +13,7 @@ const program = new Command();
13
13
  program
14
14
  .name('rigour')
15
15
  .description('🛡️ Rigour: The Quality Gate Loop for AI-Assisted Engineering')
16
- .version('1.3.0')
16
+ .version('2.0.0')
17
17
  .addHelpText('before', chalk.bold.cyan(`
18
18
  ____ _
19
19
  / __ \\(_)____ ___ __ __ _____
@@ -44,9 +44,11 @@ program
44
44
  .description('Run quality gate checks')
45
45
  .option('--ci', 'CI mode (minimal output, non-zero exit on fail)')
46
46
  .option('--json', 'Output report in JSON format')
47
+ .option('-i, --interactive', 'Run in interactive mode with rich output')
47
48
  .addHelpText('after', `
48
49
  Examples:
49
- $ rigour check # Run interactive check
50
+ $ rigour check # Run standard check
51
+ $ rigour check --interactive # Run with rich, interactive output
50
52
  $ rigour check --ci # Run in CI environment
51
53
  `)
52
54
  .action(async (options: any) => {
@@ -13,6 +13,7 @@ const EXIT_INTERNAL_ERROR = 3;
13
13
  export interface CheckOptions {
14
14
  ci?: boolean;
15
15
  json?: boolean;
16
+ interactive?: boolean;
16
17
  }
17
18
 
18
19
  export async function checkCommand(cwd: string, options: CheckOptions = {}) {