An open API service indexing awesome lists of open source software.

https://github.com/qtc-de/strips

Simple python utility to strip comments from a PowerShell script
https://github.com/qtc-de/strips

comments evasion powershell strip

Last synced: 8 months ago
JSON representation

Simple python utility to strip comments from a PowerShell script

Awesome Lists containing this project

README

          

### strips

-----

*strips* is just a super simple Python script to strip line based comments from PowerShell scripts.
Nothing really dedicated, I just wanted to backup it somewhere.

### Usage

-----

```
$ python3 ./strips -h
usage: strips [-h] infile outfile

Simple utility to strip comments from a PowerShell scripts. Does only work on 'full-line'
comments. Or in other words: Lines that contain a mix of valid code and comments are not
stripped.

positional arguments:
infile path to the powershell script
outfile path to the stripped powershell script

optional arguments:
-h, --help show this help message and exit
```