Go-For-It icon indicating copy to clipboard operation
Go-For-It copied to clipboard

Extend CLI interface to open lists from commandline

Open JMoerman opened this issue 5 years ago • 0 comments

It would be nice if lists could be loaded and added from the command line. To accomplish this it should be possible to

  • [x] list the current lists
    • [x] id
    • [x] name
    • [x] type of the list
    • [ ] properties like the path of the todo.txt directory
  • [x] Load a list by passing the id to the application
  • [ ] Add a list in a future proof way
    • [ ] doesn't assume that the list is of todo.txt format
    • [ ] should be possible to extend with extra properties in the future
    • [ ] If a list matching the supplied properties already exists, load that instead

An example of a command to add a list could be: com.github.jmoerman.go-for-it --add type=Todo.txt name="project tasks" dir="/home/test/Todo"

JMoerman avatar Mar 18 '19 19:03 JMoerman