Rewrite the `chocolateysetup.psm1` module
- Dominant language
- C#
- Stars
- 11.5k
- Forks
- 960
- PR merge metrics
- No merged PRs in 30d
Description
### Checklist
- [X] I have verified this is the correct repository for opening this issue.
- [X] I have verified no other issues exist related to my request.
### Is Your Feature Request Related To A Problem? Please describe.
The `chocolateysetup.psm1` module that the `chocolatey` nupkg loads to install Chocolatey CLI itself was first written a very long time ago, and it uses code style that is not maintainable. As a result, we tend to avoid touching it as much as possible.
### Describe The Solution. Why is it needed?
Rewrite the module using more modern PowerShell patterns and make it much easier to maintain and make any necessary changes to going forward.
### Additional Context
_No response_
### Related Issues
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.