Skip to content

Xenexes/Todo-Cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Simple test project / playground for JBang Simple CLI tool to create and manage to-do lists for every days work.

Features

  • 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 Code

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.

Run the command

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."

Run commands without checkout

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."

Run commands with alias

About

CLI for simple to-do list, build with jbang.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages