Skip to content

Simple cli tool for managing tasks, built with Cobra

License

Notifications You must be signed in to change notification settings

cyf0rk/task-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Checklist

Data Storage

  • set up a SQLite database
    • open SQLite DB
    • add task
    • delete task
    • edit task
    • get tasks

Making a CLI with Cobra

  • add CLI
    • add task
    • delete task
    • edit task
    • get tasks

Add a little... Je ne sais quoi

Project layout

db/db.go - here we create our custom task struct and our data layer.

utils/utils.go - utility functions handle our setup including opening a database and setting the data path for our application.

cmd/ - this is where we do all of our Cobra commands and setup for our CLI.

About

Simple cli tool for managing tasks, built with Cobra

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages