zenna / SortMyLife.jl

Sort My Life
MIT License
1 stars 0 forks source link

Add option to act directly on delimited text files #1

Open cosmojg opened 4 years ago

cosmojg commented 4 years ago

Hi! I could really use a tool like this, but I'm finding using it in its current form reeeally clunky.

Here's the command I'm currently using: sortmylife(vec(readdlm("/path/to/my/todolist.txt", '\n', String)))

I'd love it if I could just write: sortmylife("/path/to/my/todolist.txt", '\n')

It would be even cooler if I had the option of running it mutably so I don't have to go through the trouble of rewriting the text file myself: sortmylife!("/path/to/my/todolist.txt", '\n')

What do you think? Would you be willing to accept a pull request with these features or add them yourself?

zenna commented 4 years ago

Hi

Go ahead and do a pull request.

I didn't write this for anyone else to use -- how did you even find it? -- but if you find it useful that's good.

cosmojg commented 4 years ago

A friend actually sent it to me! Do you know him? https://github.com/alec-hoyland/

And will do! I've gotten busy since I submitted this issue, but expect a few pull requests eventually.