Simple test project / playground for JBang Simple CLI tool to create and manage to-do lists for every days work.
- Create a new to-do list
- Add a new item to to-do list
- Check / uncheck item on to-do list with an optional comment
- List today's to-dos
- Written with JBang and picoli cli.
Edit with IntelliJ. How to prepare IntelliJ link.
jbang edit --open=idea .\Todo.java
Edit with VScode.
jbang edit --open=code .\Todo.java
You can also use jbang edit --live Todo.java
and jbang will launch your editor while watching for file changes and regenerate the temporary project to pick up changes in dependencies.
Create new list.
jbang Todo.java -n
Add new item.
jbang Todo.java -t "My new to-do 1"
jbang Todo.java -t "My new to-do 2"
List items of latest to-do list.
jbang Todo.java -l
Check first item on latest to-do list. The comment is optional. The -c
command toggles the check state.
jbang Todo.java -c 1 "My comment on check."
jbang https://raw.githubusercontent.com/Xenexes/Todo-Cli/master/Todo.java -n
jbang https://raw.githubusercontent.com/Xenexes/Todo-Cli/master/Todo.java -t "My new to-do 1"
jbang https://raw.githubusercontent.com/Xenexes/Todo-Cli/master/Todo.java -l
jbang https://raw.githubusercontent.com/Xenexes/Todo-Cli/master/Todo.java -c 1 "My comment on check."