├── .editorconfig ├── .gitignore ├── .npmignore ├── LICENSE ├── README.md ├── package.json ├── src ├── commands │ ├── actions │ │ ├── generateDocs.ts │ │ └── generateIntroduction.ts │ └── main.ts ├── constants │ ├── errors.ts │ └── index.ts ├── helpers │ ├── flattenTree.ts │ ├── generateDoc.ts │ ├── getDocPath.ts │ ├── getTree.ts │ ├── ignore.ts │ ├── saveDocForFile.ts │ └── validateApiKeyEnv.ts ├── index.ts ├── middlewares │ └── errorCatcher.ts ├── types │ └── index.ts └── utils │ ├── ai.ts │ ├── apiKey.ts │ ├── exec.ts │ ├── fs.ts │ ├── prompt.ts │ └── string.ts ├── tsconfig.json ├── tsup.config.js └── yarn.lock /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jefferson-calmon/codocx/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jefferson-calmon/codocx/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jefferson-calmon/codocx/HEAD/.npmignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jefferson-calmon/codocx/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jefferson-calmon/codocx/HEAD/README.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jefferson-calmon/codocx/HEAD/package.json -------------------------------------------------------------------------------- /src/commands/actions/generateDocs.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jefferson-calmon/codocx/HEAD/src/commands/actions/generateDocs.ts -------------------------------------------------------------------------------- /src/commands/actions/generateIntroduction.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jefferson-calmon/codocx/HEAD/src/commands/actions/generateIntroduction.ts -------------------------------------------------------------------------------- /src/commands/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jefferson-calmon/codocx/HEAD/src/commands/main.ts -------------------------------------------------------------------------------- /src/constants/errors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jefferson-calmon/codocx/HEAD/src/constants/errors.ts -------------------------------------------------------------------------------- /src/constants/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jefferson-calmon/codocx/HEAD/src/constants/index.ts -------------------------------------------------------------------------------- /src/helpers/flattenTree.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jefferson-calmon/codocx/HEAD/src/helpers/flattenTree.ts -------------------------------------------------------------------------------- /src/helpers/generateDoc.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jefferson-calmon/codocx/HEAD/src/helpers/generateDoc.ts -------------------------------------------------------------------------------- /src/helpers/getDocPath.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jefferson-calmon/codocx/HEAD/src/helpers/getDocPath.ts -------------------------------------------------------------------------------- /src/helpers/getTree.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jefferson-calmon/codocx/HEAD/src/helpers/getTree.ts -------------------------------------------------------------------------------- /src/helpers/ignore.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jefferson-calmon/codocx/HEAD/src/helpers/ignore.ts -------------------------------------------------------------------------------- /src/helpers/saveDocForFile.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jefferson-calmon/codocx/HEAD/src/helpers/saveDocForFile.ts -------------------------------------------------------------------------------- /src/helpers/validateApiKeyEnv.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jefferson-calmon/codocx/HEAD/src/helpers/validateApiKeyEnv.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jefferson-calmon/codocx/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/middlewares/errorCatcher.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jefferson-calmon/codocx/HEAD/src/middlewares/errorCatcher.ts -------------------------------------------------------------------------------- /src/types/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jefferson-calmon/codocx/HEAD/src/types/index.ts -------------------------------------------------------------------------------- /src/utils/ai.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jefferson-calmon/codocx/HEAD/src/utils/ai.ts -------------------------------------------------------------------------------- /src/utils/apiKey.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jefferson-calmon/codocx/HEAD/src/utils/apiKey.ts -------------------------------------------------------------------------------- /src/utils/exec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jefferson-calmon/codocx/HEAD/src/utils/exec.ts -------------------------------------------------------------------------------- /src/utils/fs.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jefferson-calmon/codocx/HEAD/src/utils/fs.ts -------------------------------------------------------------------------------- /src/utils/prompt.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jefferson-calmon/codocx/HEAD/src/utils/prompt.ts -------------------------------------------------------------------------------- /src/utils/string.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jefferson-calmon/codocx/HEAD/src/utils/string.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jefferson-calmon/codocx/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tsup.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jefferson-calmon/codocx/HEAD/tsup.config.js -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jefferson-calmon/codocx/HEAD/yarn.lock --------------------------------------------------------------------------------