@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.
- package/.turbo/turbo-build.log +7 -7
- package/dist/cli.js +1 -1
- package/dist/cli.mjs +1 -1
- package/package.json +4 -4
- package/src/cli.ts +2 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
-
> @aiready/cli@0.1
|
|
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
|
[34mCLI[39m Building entry: src/cli.ts, src/index.ts
|
|
@@ -9,15 +9,15 @@
|
|
|
9
9
|
[34mCLI[39m Target: es2020
|
|
10
10
|
[34mCJS[39m Build start
|
|
11
11
|
[34mESM[39m Build start
|
|
12
|
-
[32mESM[39m [1mdist/
|
|
12
|
+
[32mESM[39m [1mdist/cli.mjs [22m[32m7.95 KB[39m
|
|
13
13
|
[32mESM[39m [1mdist/index.mjs [22m[32m138.00 B[39m
|
|
14
|
-
[32mESM[39m [1mdist/
|
|
15
|
-
[32mESM[39m ⚡️ Build success in
|
|
14
|
+
[32mESM[39m [1mdist/chunk-S6JWNLN7.mjs [22m[32m1.40 KB[39m
|
|
15
|
+
[32mESM[39m ⚡️ Build success in 55ms
|
|
16
16
|
[32mCJS[39m [1mdist/index.js [22m[32m2.51 KB[39m
|
|
17
|
-
[32mCJS[39m [1mdist/cli.js [22m[32m10.
|
|
18
|
-
[32mCJS[39m ⚡️ Build success in
|
|
17
|
+
[32mCJS[39m [1mdist/cli.js [22m[32m10.77 KB[39m
|
|
18
|
+
[32mCJS[39m ⚡️ Build success in 55ms
|
|
19
19
|
DTS Build start
|
|
20
|
-
DTS ⚡️ Build success in
|
|
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
|
|
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.
|
|
15
|
-
"@aiready/
|
|
16
|
-
"@aiready/
|
|
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')
|