Closed ChillarAnand closed 6 years ago
I opened a PR with my take on an importmagic
script. It's pretty basic but gets the job done.
Here's what it looks like:
$ importmagic
usage: importmagic [-h] [--refresh] [--exclude-current-path] file_name
importmagic: error: the following arguments are required: file_name
$ importmagic myfile.py
$ importmagic myfile.py --refresh
I'm sure one feature people would like would be the ability to say whether or not the file should be overwritten in-place (-i option). In fact it should probably be the default to print rather than overwrite.
Merged, thanks!
Could be useful. I'd accept a patch that made this mojo happen.