Commit graph

17 commits

Author SHA1 Message Date
701cf3e0d3
Use pathclass.read, write. 2021-10-04 17:21:14 -07:00
4a9051e617
Big migrations and linting.
With pathclass.glob_many, we can clean up and feel more confident
about many programs that use pipeable to take glob patterns.

Added return 0 to all programs that didn't have it, so we have
consistent and explicit command line return values.

Other linting and whitespace.
2021-09-23 23:42:45 -07:00
6daa10c0d1
Make better use of passing glob patterns through argparse. 2021-08-11 01:04:41 -07:00
5ce6cf8425
Migrate scripts to vlogging.main_decorator. 2021-06-21 22:11:19 -07:00
7bc152f05a
Use pathclass in contentreplace. 2021-05-16 21:02:27 -07:00
a875f8c265
Use re.multiline for regex contentreplace. 2021-03-26 13:28:10 -07:00
51188b30ee
Remove redundant argparse dest=, fix some lint issues. 2021-02-20 21:01:55 -08:00
35281c81ab Transition calls to getpermission to interactive. 2020-12-07 00:54:00 -08:00
37dc5eaa35 Use pipeable.ctrlc_return1. 2020-11-30 22:05:54 -08:00
3c061f8daa Don't unicode_escape the argument if using regex mode.
This was causing issues with backslashes.
2020-11-15 17:58:26 -08:00
dbd21deb9e Add skewer-case aliases for snake_case arguments. 2020-08-12 10:23:20 -07:00
4976c7f188 Add argument --recurse to do files in subdirectories too. 2020-06-25 14:16:51 -07:00
af6176286c Use voussoirkit getpermission for yes/no prompts. 2020-02-09 12:08:38 -08:00
dc48da8a27 main should return args.func(args) value. 2020-02-08 17:23:43 -08:00
2d5ef0c7cf Replace these uses of glob with winglob. 2020-01-15 22:47:26 -08:00
a05b82d683 Add --regex option to contentreplace. 2020-01-14 23:47:11 -08:00
f44e46aab5 Initial commit. 2019-06-11 22:41:31 -07:00