|
|
|
@ -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() |
|
|
|
|
|
|
|
|