Provide a list of files and this tool will ensure there is an empty line at the end of each file. Simples.
def main():
pass
if __name__=="__main__":
main()
- no newline
+Provide a single file to reformat:
feedline dodgy_file.txtProvide multiple files to reformat:
feedline dodgy_file_1.txt dodgy_file_2.txtPipe files to reformat:
find ./src/ -type f | feedlinegit diff --name-only main | feedlineFilter the results you care about:
ls | feedline --color=NEVER | grep '^SKIP'- Clone this repo:
git clone https://github.com/arembridge/feedline.git - Install with cargo:
cargo install --path .