dodo

command module
v0.0.0-...-5ad840a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 27, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

README

dodo

A TUI app to do task management. [Cobra & Sqlite]

Like a list of tasks of a rare extinct species... dodo

Overview

dodo allows the user the following functions to manage their tasks.

  • Tasks list
  • Addition
  • Check as done
  • Deleting task
  • ...

Install

Check dependencies

  • cobra : go get -u github.com/spf13/cobra/cobra
  • viper : go get -u github.com/spf13/viper
  • go-sqlite: go get github.com/mattn/go-sqlite3

go-sqlite3 and go modules See for environment var GOPRIVATE here : go-sqlite & GOPRIVATE

Go Documentation

You need a $GOBIN with go install !!! otherwise you have problems with database connection, also copy the dodo.yaml file to $GOBIN.
The tasks.db database is created in the same location.

This is a little trick to avoid having to pass the database path as an argument at launch. It's not highly recommended, but that's the way it is. Maybe in the future we will do like that, but we will have to juggle with the aliases and the limitations of Golang.

See:

export GOBIN=$HOME/go/bin
echo $GOBIN
cd $GOBIN
cp ~/codes/go/goRepos/dodo/dodo.yaml ./
source .bash_profile

To export your tasks you can perform somme commands like

❯ dodo list | grep -e '^\ [0-9]' | awk -F'\t' '{print "* " $3}' > dodoTaks.md

See more:

❯ dodo -h

Licenses

Alt gplv3-or-later

Documentation

Overview

Copyright © 2019 Tony Simoes < asrmail@pm dot me> This file is part of netapau/todo.

dodo is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

netapau/dodo is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with netapau/2do.  If not, see <https://www.gnu.org/licenses/>.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL