@aiready/cli 0.1.4 → 0.2.1

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.
@@ -1,6 +1,6 @@
1
1
 
2
2
  
3
- > @aiready/cli@0.1.4 build /Users/pengcao/projects/aiready/packages/cli
3
+ > @aiready/cli@0.2.1 build /Users/pengcao/projects/aiready/packages/cli
4
4
  > tsup src/index.ts src/cli.ts --format cjs,esm --dts
5
5
 
6
6
  CLI Building entry: src/cli.ts, src/index.ts
@@ -9,15 +9,15 @@
9
9
  CLI Target: es2020
10
10
  CJS Build start
11
11
  ESM Build start
12
- ESM dist/chunk-S6JWNLN7.mjs 1.40 KB
12
+ ESM dist/cli.mjs 7.95 KB
13
13
  ESM dist/index.mjs 138.00 B
14
- ESM dist/cli.mjs 7.74 KB
15
- ESM ⚡️ Build success in 75ms
14
+ ESM dist/chunk-S6JWNLN7.mjs 1.40 KB
15
+ ESM ⚡️ Build success in 55ms
16
16
  CJS dist/index.js 2.51 KB
17
- CJS dist/cli.js 10.56 KB
18
- CJS ⚡️ Build success in 75ms
17
+ CJS dist/cli.js 10.77 KB
18
+ CJS ⚡️ Build success in 55ms
19
19
  DTS Build start
20
- DTS ⚡️ Build success in 548ms
20
+ DTS ⚡️ Build success in 552ms
21
21
  DTS dist/cli.d.ts 20.00 B
22
22
  DTS dist/index.d.ts 731.00 B
23
23
  DTS dist/cli.d.mts 20.00 B
package/dist/cli.js CHANGED
@@ -80,7 +80,7 @@ var import_chalk = __toESM(require("chalk"));
80
80
  var import_fs = require("fs");
81
81
  var import_core = require("@aiready/core");
82
82
  var program = new import_commander.Command();
83
- program.name("aiready").description("AIReady - Unified AI-readiness analysis tools").version("0.1.0");
83
+ program.name("aiready").description("AIReady - Unified AI-readiness analysis tools").version("0.1.0").addHelpText("after", "\nCONFIGURATION:\n Supports config files: aiready.json, aiready.config.json, .aiready.json, .aireadyrc.json, aiready.config.js, .aireadyrc.js\n CLI options override config file settings");
84
84
  program.command("scan").description("Run unified analysis on a codebase").argument("<directory>", "Directory to analyze").option("-t, --tools <tools>", "Tools to run (comma-separated: patterns,context)", "patterns,context").option("--include <patterns>", "File patterns to include (comma-separated)").option("--exclude <patterns>", "File patterns to exclude (comma-separated)").option("-o, --output <format>", "Output format: console, json", "console").option("--output-file <path>", "Output file path (for json)").action(async (directory, options) => {
85
85
  console.log(import_chalk.default.blue("\u{1F680} Starting AIReady unified analysis...\n"));
86
86
  const startTime = Date.now();
package/dist/cli.mjs CHANGED
@@ -10,7 +10,7 @@ import chalk from "chalk";
10
10
  import { writeFileSync } from "fs";
11
11
  import { loadConfig, mergeConfigWithDefaults } from "@aiready/core";
12
12
  var program = new Command();
13
- program.name("aiready").description("AIReady - Unified AI-readiness analysis tools").version("0.1.0");
13
+ program.name("aiready").description("AIReady - Unified AI-readiness analysis tools").version("0.1.0").addHelpText("after", "\nCONFIGURATION:\n Supports config files: aiready.json, aiready.config.json, .aiready.json, .aireadyrc.json, aiready.config.js, .aireadyrc.js\n CLI options override config file settings");
14
14
  program.command("scan").description("Run unified analysis on a codebase").argument("<directory>", "Directory to analyze").option("-t, --tools <tools>", "Tools to run (comma-separated: patterns,context)", "patterns,context").option("--include <patterns>", "File patterns to include (comma-separated)").option("--exclude <patterns>", "File patterns to exclude (comma-separated)").option("-o, --output <format>", "Output format: console, json", "console").option("--output-file <path>", "Output file path (for json)").action(async (directory, options) => {
15
15
  console.log(chalk.blue("\u{1F680} Starting AIReady unified analysis...\n"));
16
16
  const startTime = Date.now();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aiready/cli",
3
- "version": "0.1.4",
3
+ "version": "0.2.1",
4
4
  "description": "Unified CLI for AIReady analysis tools",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -11,9 +11,9 @@
11
11
  "dependencies": {
12
12
  "commander": "^12.1.0",
13
13
  "chalk": "^5.3.0",
14
- "@aiready/core": "0.2.4",
15
- "@aiready/context-analyzer": "0.1.4",
16
- "@aiready/pattern-detect": "0.5.4"
14
+ "@aiready/core": "0.2.5",
15
+ "@aiready/pattern-detect": "0.6.0",
16
+ "@aiready/context-analyzer": "0.2.0"
17
17
  },
18
18
  "devDependencies": {
19
19
  "tsup": "^8.3.5",
package/src/cli.ts CHANGED
@@ -12,7 +12,8 @@ const program = new Command();
12
12
  program
13
13
  .name('aiready')
14
14
  .description('AIReady - Unified AI-readiness analysis tools')
15
- .version('0.1.0');
15
+ .version('0.1.0')
16
+ .addHelpText('after', '\nCONFIGURATION:\n Supports config files: aiready.json, aiready.config.json, .aiready.json, .aireadyrc.json, aiready.config.js, .aireadyrc.js\n CLI options override config file settings');
16
17
 
17
18
  program
18
19
  .command('scan')