Generate .github/copilot-instructions.md and update .gitignore
npm install copilot-instructions.github/copilot-instructions.md file and updates the .gitignore file to include it. The purpose is to provide detailed instructions for GitHub Copilot.
sh
npm install
`
Usage
To generate the copilot-instructions.md file and update the .gitignore, run the following command:
`sh
npx copilot-instructions
`
How It Works
1. Create Directory: The script creates the .github directory if it doesn't already exist.
2. Generate Instructions File: It generates the copilot-instructions.md file with a template if the file doesn't already exist.
3. Update .gitignore: It adds the copilot-instructions.md file to the .gitignore` to ensure it is not tracked by Git.