docugate 0.1.0 → 0.1.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/dist/cli.js +2 -2
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -5,7 +5,7 @@ import { loadConfig } from './config.js';
|
|
|
5
5
|
import { init } from './init.js';
|
|
6
6
|
import { buildOpenApi, isCurrent, writeOpenApi } from './openapi.js';
|
|
7
7
|
const SITE = 'https://www.trydocugate.site';
|
|
8
|
-
const HELP = `docugate
|
|
8
|
+
const HELP = `docugate: set up and check the docs DocuGate reads from your repository
|
|
9
9
|
|
|
10
10
|
Usage
|
|
11
11
|
npx docugate <command> [options]
|
|
@@ -106,7 +106,7 @@ async function main() {
|
|
|
106
106
|
case 'check': {
|
|
107
107
|
const result = check(root, one('dir'));
|
|
108
108
|
const strict = args.bools.has('strict');
|
|
109
|
-
console.log(`docugate check ${dim(
|
|
109
|
+
console.log(`docugate check ${dim(`(${result.docsDir}/, ${plural(result.pages, 'page')})`)}`);
|
|
110
110
|
report('error', result.errors, red);
|
|
111
111
|
report('warn', result.warnings, yellow);
|
|
112
112
|
const failed = result.errors.length + (strict ? result.warnings.length : 0);
|
package/package.json
CHANGED