@arthurcorreadev/copilot-docs
v1.0.2
Published
A TypeScript framework for installing and managing technical documentation in your projects. Easily select, copy, and integrate docs and instructions for multiple tools with a single CLI command.
Downloads
17
Maintainers
Readme
@arthurcorreadev/copilot-docs
TypeScript framework for installing and managing technical documentation in your projects. Easily select, copy, and integrate docs and instructions for multiple tools with a single CLI command.
Installation
npm install @arthurcorreadev/copilot-docsHow to Use
- Run the CLI in your target project:
npx project-c45-docs-installer - Select which documentation sets you want to install (based on the interactive prompt).
- The selected docs will be copied to
docs/frameworksand instructions to.github/instructionsin your project.
Scripts
npm run build: Compiles TypeScript fromsrc/todist/.npm start: Runs the main compiled file.
Developer Workflow
- Source code:
src/ - CLI logic:
bin/install-docs.js - Documentation registry:
config.json - Documentation content:
src/docs/ - Instructions:
.github/instructions/
Publishing
To publish to npm:
npm publish --access publicProject Structure
src/: TypeScript source codedist/: Compiled outputbin/: CLI entry pointconfig.json: Documentation registrysrc/docs/: Documentation sets.github/instructions/: Markdown instructions for each tool
Example
To add ESLint docs to your project:
- Install this package:
npm install @arthurcorreadev/copilot-docs - Run:
npx project-c45-docs-installer - Select "eslint" in the prompt. Docs will be copied to
docs/frameworks/eslintand instructions to.github/instructions.
