Checklist
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
Checklist
Is Your Feature Request Related To A Problem? Please describe.
The
chocolateysetup.psm1module that thechocolateynupkg 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