todo

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

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

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

README

Todo

To-do cli application with golang.

Help you record to-do items and work more efficiently.

Table of Contents

Overview

Use Cobra library.

todo version

Installing

Using todo is easy. First, use go get to install latest version of the library. This command will install the todo generator executable along with the library and its dependencies:

go get -u github.com/cuilan/todo

Next, build it:

go build -o full/path/todo

Configuration

First, Create a config.yml configuration file in the $HOME directory.

Next, Only need to add a configuration for configuring the data file storage location:

datafile: C:\Users\xxxxx\.todo.json

Create your json data file.

Getting Started

Version

Show current todo version:

todo version

Todo items list

Show undone todo items list:

todo list

Show all todo itesm list:

todo list -a

Show done todo itesm list:

todo list -d

Add todo item

Add item to list, priority:(1, 2, 3), default: 3:

todo add -p 1 xxxx

Done item

Done item with index:

todo done 1

License

Todo is released ubder the Apache 2.0 license.See LICENSE

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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