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.
Files changed (2) hide show
  1. package/dist/cli/main.js +1 -6
  2. 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("\nPlanned commands:\n");
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(" ")}`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "specli",
3
- "version": "0.0.28",
3
+ "version": "0.0.29",
4
4
  "description": "Run any OpenAPI spec as a CLI. Built for Agents.",
5
5
  "repository": {
6
6
  "type": "git",