├── .github ├── dependabot.yml └── workflows │ └── nodejs.yml ├── .gitignore ├── .husky ├── .gitignore ├── commit-msg └── pre-commit ├── LICENSE ├── README.md ├── commitlint.config.js ├── index.js ├── package.json ├── src ├── cli.js ├── commands │ └── generate.js ├── templates │ └── components │ │ └── HoppRequest.vue └── utils │ ├── banner.js │ ├── helpers.js │ └── logger.js └── test ├── cli.test.js ├── commands ├── generate.test.js └── snapshots │ ├── generate.test.js.md │ └── generate.test.js.snap ├── fixtures └── hoppscotch-collection.json └── helpers.js /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoppscotch/hopp-doc-gen/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/nodejs.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoppscotch/hopp-doc-gen/HEAD/.github/workflows/nodejs.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | 3 | # Test Artifacts 4 | test/commands/generate-cmd 5 | -------------------------------------------------------------------------------- /.husky/.gitignore: -------------------------------------------------------------------------------- 1 | _ 2 | -------------------------------------------------------------------------------- /.husky/commit-msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoppscotch/hopp-doc-gen/HEAD/.husky/commit-msg -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | . "$(dirname "$0")/_/husky.sh" 3 | 4 | npx lint-staged 5 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoppscotch/hopp-doc-gen/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoppscotch/hopp-doc-gen/HEAD/README.md -------------------------------------------------------------------------------- /commitlint.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | extends: ['@commitlint/config-conventional'] 3 | } 4 | -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | #! /usr/bin/env node 2 | 3 | require('./src/cli.js') 4 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoppscotch/hopp-doc-gen/HEAD/package.json -------------------------------------------------------------------------------- /src/cli.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoppscotch/hopp-doc-gen/HEAD/src/cli.js -------------------------------------------------------------------------------- /src/commands/generate.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoppscotch/hopp-doc-gen/HEAD/src/commands/generate.js -------------------------------------------------------------------------------- /src/templates/components/HoppRequest.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoppscotch/hopp-doc-gen/HEAD/src/templates/components/HoppRequest.vue -------------------------------------------------------------------------------- /src/utils/banner.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoppscotch/hopp-doc-gen/HEAD/src/utils/banner.js -------------------------------------------------------------------------------- /src/utils/helpers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoppscotch/hopp-doc-gen/HEAD/src/utils/helpers.js -------------------------------------------------------------------------------- /src/utils/logger.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoppscotch/hopp-doc-gen/HEAD/src/utils/logger.js -------------------------------------------------------------------------------- /test/cli.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoppscotch/hopp-doc-gen/HEAD/test/cli.test.js -------------------------------------------------------------------------------- /test/commands/generate.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoppscotch/hopp-doc-gen/HEAD/test/commands/generate.test.js -------------------------------------------------------------------------------- /test/commands/snapshots/generate.test.js.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoppscotch/hopp-doc-gen/HEAD/test/commands/snapshots/generate.test.js.md -------------------------------------------------------------------------------- /test/commands/snapshots/generate.test.js.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoppscotch/hopp-doc-gen/HEAD/test/commands/snapshots/generate.test.js.snap -------------------------------------------------------------------------------- /test/fixtures/hoppscotch-collection.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoppscotch/hopp-doc-gen/HEAD/test/fixtures/hoppscotch-collection.json -------------------------------------------------------------------------------- /test/helpers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hoppscotch/hopp-doc-gen/HEAD/test/helpers.js --------------------------------------------------------------------------------