FHomewood / dev-tools

A dot-files style repository intended to store all windows PowerShell scripts, bash scripts and dotfiles for ease of development and automation of workflow.
GNU General Public License v3.0
1 stars 0 forks source link

Create python equivalent to delenv command #37

Closed FHomewood closed 2 weeks ago

FHomewood commented 1 month ago

Proposed Feature

Summary

Adding a translation of the logic of the meeting command in delenv.ps1 into a python script will allow the functionality to be independent of the syntax of any given operating system. Enabling more development specific tools in future.

Motivation

As a move to make the dev tools functionality platform independent, translating these scripts into a language that is not OS-specific like BASH or PowerShell gives more room to create more complex functionality in future

Detail

The python script created will be required to replicate the functionality of the the original PowerShell equivalent on windows systems and should replicate this functionality on ubuntu systems to ensure that the cross compatible approach is effective on a Linux OS.

FHomewood commented 2 weeks ago

The details of the delenv command are not really suited to this use case and more appropriately covered without this tool until the cleanenvfeature is realized. It seems to me much more appropriate to deprecate the delenv.ps1 script rather than maintain this legacy feature any further.