@mintlify/cli 4.0.1122 → 4.0.1123
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/bin/cli.js +0 -11
- package/bin/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/src/cli.tsx +0 -17
- package/__test__/workflow.test.ts +0 -320
- package/bin/workflow.js +0 -150
- package/src/workflow.tsx +0 -191
package/bin/cli.js
CHANGED
|
@@ -33,7 +33,6 @@ import { scoreHandler } from './score/index.js';
|
|
|
33
33
|
import { status, getCliSubdomains } from './status.js';
|
|
34
34
|
import { trackTelemetryPreferenceChange } from './telemetry/track.js';
|
|
35
35
|
import { update } from './update.js';
|
|
36
|
-
import { addWorkflow } from './workflow.js';
|
|
37
36
|
export const cli = ({ packageName = 'mint' }) => {
|
|
38
37
|
const telemetryMiddleware = createTelemetryMiddleware();
|
|
39
38
|
render(_jsx(Logs, {}));
|
|
@@ -400,16 +399,6 @@ export const cli = ({ packageName = 'mint' }) => {
|
|
|
400
399
|
addLog(_jsx(ErrorLog, { message: error instanceof Error ? error.message : 'error occurred' }));
|
|
401
400
|
yield terminate(1);
|
|
402
401
|
}
|
|
403
|
-
}))
|
|
404
|
-
.command('workflow', 'Add a workflow to your documentation repository', () => undefined, () => __awaiter(void 0, void 0, void 0, function* () {
|
|
405
|
-
try {
|
|
406
|
-
yield addWorkflow();
|
|
407
|
-
yield terminate(0);
|
|
408
|
-
}
|
|
409
|
-
catch (error) {
|
|
410
|
-
addLog(_jsx(ErrorLog, { message: error instanceof Error ? error.message : 'error occurred' }));
|
|
411
|
-
yield terminate(1);
|
|
412
|
-
}
|
|
413
402
|
}))
|
|
414
403
|
.command('analytics', 'View analytics for your documentation', analyticsBuilder)
|
|
415
404
|
.command('score <url>', 'Run agent readiness checks on a docs site', (yargs) => yargs
|