diff --git a/__tests__/lib/__snapshots__/commands.test.ts.snap b/__tests__/lib/__snapshots__/commands.test.ts.snap deleted file mode 100644 index 769abe424..000000000 --- a/__tests__/lib/__snapshots__/commands.test.ts.snap +++ /dev/null @@ -1,156 +0,0 @@ -// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html - -exports[`utils > #listByCategory > should list commands by category 1`] = ` -{ - "admin": { - "commands": [ - { - "description": "Login to a ReadMe project.", - "hidden": false, - "name": "login", - }, - { - "description": "Logs the currently authenticated user out of ReadMe.", - "hidden": false, - "name": "logout", - }, - { - "description": "Displays the current user and project authenticated with ReadMe.", - "hidden": false, - "name": "whoami", - }, - ], - "description": "Administration", - }, - "apis": { - "commands": [ - { - "description": "Upload, or resync, your OpenAPI/Swagger definition to ReadMe.", - "hidden": false, - "name": "openapi", - }, - { - "description": "Convert an API definition to OpenAPI and bundle any external references.", - "hidden": false, - "name": "openapi:convert", - }, - { - "description": "Analyze an OpenAPI/Swagger definition for various OpenAPI and ReadMe feature usage.", - "hidden": false, - "name": "openapi:inspect", - }, - { - "description": "Reduce an OpenAPI definition into a smaller subset.", - "hidden": false, - "name": "openapi:reduce", - }, - { - "description": "Validate your OpenAPI/Swagger definition.", - "hidden": false, - "name": "openapi:validate", - }, - { - "description": "Alias for \`rdme openapi:validate\` [deprecated].", - "hidden": true, - "name": "validate", - }, - ], - "description": "OpenAPI / Swagger", - }, - "categories": { - "commands": [ - { - "description": "Get all categories in your ReadMe project.", - "hidden": false, - "name": "categories", - }, - { - "description": "Create a category with the specified title and guide in your ReadMe project.", - "hidden": false, - "name": "categories:create", - }, - ], - "description": "Categories", - }, - "changelogs": { - "commands": [ - { - "description": "Sync Markdown files to your ReadMe project as Changelog posts. Can either be a path to a directory or a single Markdown file.", - "hidden": false, - "name": "changelogs", - }, - ], - "description": "Changelog", - }, - "custompages": { - "commands": [ - { - "description": "Sync Markdown/HTML files to your ReadMe project as Custom Pages. Can either be a path to a directory or a single Markdown/HTML file.", - "hidden": false, - "name": "custompages", - }, - ], - "description": "Custom Pages", - }, - "docs": { - "commands": [ - { - "description": "Sync Markdown files to your ReadMe project as Guides. Can either be a path to a directory or a single Markdown file.", - "hidden": false, - "name": "docs", - }, - { - "description": "Delete any docs from ReadMe if their slugs are not found in the target folder.", - "hidden": false, - "name": "docs:prune", - }, - { - "description": "Alias for \`rdme docs\`.", - "hidden": false, - "name": "guides", - }, - { - "description": "Alias for \`rdme docs:prune\`.", - "hidden": false, - "name": "guides:prune", - }, - ], - "description": "Docs (a.k.a. Guides)", - }, - "utilities": { - "commands": [ - { - "description": "Open your current ReadMe project in the browser.", - "hidden": false, - "name": "open", - }, - ], - "description": "Other useful commands", - }, - "versions": { - "commands": [ - { - "description": "List versions available in your project or get a version by SemVer (https://semver.org/).", - "hidden": false, - "name": "versions", - }, - { - "description": "Create a new version for your project.", - "hidden": false, - "name": "versions:create", - }, - { - "description": "Delete a version associated with your ReadMe project.", - "hidden": false, - "name": "versions:delete", - }, - { - "description": "Update an existing version for your project.", - "hidden": false, - "name": "versions:update", - }, - ], - "description": "Versions", - }, -} -`;