specli 0.0.28 → 0.0.29
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/main.js +1 -6
- package/package.json +1 -1
package/dist/cli/main.js
CHANGED
|
@@ -168,13 +168,8 @@ export async function main(argv, options = {}) {
|
|
|
168
168
|
process.stdout.write(`Fingerprint: ${ctx.schema.spec.fingerprint}\n`);
|
|
169
169
|
process.stdout.write(`Servers: ${ctx.schema.servers.length}\n`);
|
|
170
170
|
process.stdout.write(`Auth Schemes: ${ctx.schema.authSchemes.length}\n`);
|
|
171
|
-
process.stdout.write(`Operations: ${ctx.schema.operations.length}\n`);
|
|
172
|
-
for (const op of ctx.schema.operations) {
|
|
173
|
-
const id = op.operationId ? ` (${op.operationId})` : "";
|
|
174
|
-
process.stdout.write(`- ${op.method} ${op.path}${id}\n`);
|
|
175
|
-
}
|
|
176
171
|
if (ctx.schema.planned?.length) {
|
|
177
|
-
process.stdout.write(
|
|
172
|
+
process.stdout.write(`\nCommands: ${ctx.schema.planned.length}\n\n`);
|
|
178
173
|
for (const op of ctx.schema.planned) {
|
|
179
174
|
const args = op.pathArgs.length
|
|
180
175
|
? ` ${op.pathArgs.map((a) => `<${a}>`).join(" ")}`
|