@studiomeyer-io/skilldoctor 0.1.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/LICENSE +21 -0
- package/README.md +187 -0
- package/SECURITY.md +53 -0
- package/dist/cli.cjs +1718 -0
- package/dist/cli.d.cts +31 -0
- package/dist/cli.d.ts +31 -0
- package/dist/cli.js +1715 -0
- package/dist/index.cjs +1569 -0
- package/dist/index.d.cts +220 -0
- package/dist/index.d.ts +220 -0
- package/dist/index.js +1540 -0
- package/dist/types-lUfaWSNG.d.cts +117 -0
- package/dist/types-lUfaWSNG.d.ts +117 -0
- package/package.json +77 -0
package/dist/cli.d.cts
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { S as Severity } from './types-lUfaWSNG.cjs';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* skilldoctor CLI.
|
|
6
|
+
*
|
|
7
|
+
* Usage:
|
|
8
|
+
* skilldoctor check <path-or-glob...> [options]
|
|
9
|
+
*
|
|
10
|
+
* A hand-rolled arg parser is used deliberately: the surface is small (one
|
|
11
|
+
* subcommand + a handful of flags), so a parser keeps the published binary
|
|
12
|
+
* dependency-free and tiny rather than pulling in commander/yargs.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
interface CliOptions {
|
|
16
|
+
paths: string[];
|
|
17
|
+
json?: string;
|
|
18
|
+
sarif?: string;
|
|
19
|
+
fix: boolean;
|
|
20
|
+
failOn?: Severity;
|
|
21
|
+
color?: boolean;
|
|
22
|
+
quiet: boolean;
|
|
23
|
+
help: boolean;
|
|
24
|
+
version: boolean;
|
|
25
|
+
}
|
|
26
|
+
/** Parse argv (excluding node + script) into options. */
|
|
27
|
+
declare function parseArgs(argv: readonly string[]): CliOptions;
|
|
28
|
+
/** The main entry point. Returns the process exit code. */
|
|
29
|
+
declare function run(argv: readonly string[]): number;
|
|
30
|
+
|
|
31
|
+
export { parseArgs, run };
|
package/dist/cli.d.ts
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { S as Severity } from './types-lUfaWSNG.js';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* skilldoctor CLI.
|
|
6
|
+
*
|
|
7
|
+
* Usage:
|
|
8
|
+
* skilldoctor check <path-or-glob...> [options]
|
|
9
|
+
*
|
|
10
|
+
* A hand-rolled arg parser is used deliberately: the surface is small (one
|
|
11
|
+
* subcommand + a handful of flags), so a parser keeps the published binary
|
|
12
|
+
* dependency-free and tiny rather than pulling in commander/yargs.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
interface CliOptions {
|
|
16
|
+
paths: string[];
|
|
17
|
+
json?: string;
|
|
18
|
+
sarif?: string;
|
|
19
|
+
fix: boolean;
|
|
20
|
+
failOn?: Severity;
|
|
21
|
+
color?: boolean;
|
|
22
|
+
quiet: boolean;
|
|
23
|
+
help: boolean;
|
|
24
|
+
version: boolean;
|
|
25
|
+
}
|
|
26
|
+
/** Parse argv (excluding node + script) into options. */
|
|
27
|
+
declare function parseArgs(argv: readonly string[]): CliOptions;
|
|
28
|
+
/** The main entry point. Returns the process exit code. */
|
|
29
|
+
declare function run(argv: readonly string[]): number;
|
|
30
|
+
|
|
31
|
+
export { parseArgs, run };
|