Browse Source

changed map to rem, added requirements.txt

master
Raphael Roberts 7 years ago
parent
commit
5480e1ec40
  1. 11
      path_append.py
  2. 1
      requirements.txt

11
path_append.py

@ -3,7 +3,6 @@ import argparse
import win32con
import win32gui
import re
import saveto
import itertools
user = 'Environment'
@ -87,11 +86,11 @@ if __name__ == "__main__":
mod.add_argument('-d',dest='dry_run',action='store_true',help='dry run')
mod.add_argument('path', help = 'Path to be appended to PATH')
search = alts.add_parser('map')
search.add_argument('--regex',action='store_true',help='use regex')
search.add_argument('-n',action = 'store_true',help = 'negate pattern')
search.add_argument('-d',dest='dry_run',action='store_true',help='dry run')
search.add_argument('pattern', help = 'pattern to search through path and remove matches')
rem = alts.add_parser('rem')
rem.add_argument('--regex',action='store_true',help='use regex')
rem.add_argument('-n',action = 'store_true',help = 'negate pattern')
rem.add_argument('-d',dest='dry_run',action='store_true',help='dry run')
rem.add_argument('pattern', help = 'pattern to search through path and remove matches')
args = parser.parse_args()

1
requirements.txt

@ -0,0 +1 @@
pypiwin32
Loading…
Cancel
Save