Skip to content
/ yodo Public

Simple TODO list application, to learn Cobra and Viper

License

Notifications You must be signed in to change notification settings

raelga/yodo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Actions Status Build Status Go Report Card Coverage Status GitHub

yodo

Simple GoLang TODO application

This application is just a playground to learn:

  • TDD with GoLang
  • github.com/spf13/cobra
  • github.com/spf13/viper
  • gopkg.in/yaml.v2
  • GitHub Actions

Usage

$ ./yodo get
default:
Empty list
$ ./yodo add Add verbose mode
add task "Add verbose mode" (false) to file$ 
$ ./yodo get
default:
- [0] "Add verbose mode" (false)
$ ./yodo do 0
Task 0 done.
$ ./yodo get
default:
- [0] "Add verbose mode" (true)
$ cat ~/.yodo/default.yaml 
id: 0
name: default
tasks:
- id: 0
  status: true
  description: Add verbose mode

About

Simple TODO list application, to learn Cobra and Viper

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages