Skip to content

han109k/todoCLI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TODO cli app written in Go

Add environment variables

export CLIAPP_DATAFIE=$HOME/todos.json

OR put it in $HOME/.cliApp.yaml

datafile: $HOME/todos.json

Start Using

go build
./cliApp ...
OR
go run main.go ...
  • Help
go run main.go --help
  • Add a todo item with default priority 3
go run main.go add "Some todo"
  • Add a todo item with a priority 5
go run main.go add "format list" -p5
  • List to do items
go run main.go list
go run main.go list --all
go run main.go list --done
  • Mark 3rd todo item as done
go run main.go done 3

Releases

No releases published

Packages

No packages published

Languages