An open API service indexing awesome lists of open source software.

https://github.com/sibteali786/todo

Command Line TodoList using Golang with locally saved file as Json
https://github.com/sibteali786/todo

Last synced: 3 months ago
JSON representation

Command Line TodoList using Golang with locally saved file as Json

Awesome Lists containing this project

README

        

## TODO Command Line Tool in GOlang
This tool is written in go to practice the capabilities of Go lang in command line tools.

## Commands
### Make a Build Command
`cd cmd`
`go build -o `

### Example
`go build -o todo`

### Run the build
`./todo --add "Get a pizza"`

### List of Commands
- --add -> Add an item is todo
- --list -> list all the items
- --complete -> complete given index item ( using a number )
- --delete -> delete given index item
- --verbose -> print details like time created, completed, etc.

### Run Tests

`go test`