tasks

command module
v0.0.0-...-94fa7b2 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

README

tasks

Quick Start

go install github.com/MoXcz/tasks@latest

And then run the program:

tasks --help

Usage

tasks add "Do the dishes"
tasks add "Continue customizing Neovim (btw)"
tasks list

Output:

Total tasks: 2
ID   Task                                Created             Done
1    Do the dishes                       a few seconds ago   false
2    Continue customizing Neovim (btw)   a few seconds ago   false
tasks complete 1
tasks list # "Do the dishes" no longer appears

Output:

Total tasks: 2
ID   Task                                Created        Done
2    Continue customizing Neovim (btw)   a minute ago   false
tasks list --all # Show all tasks, including completed ones (which includes "Do the dieshes"

Output:

Total tasks: 2
ID   Task                                Created        Done
1    Do the dishes                       a minute ago   true
2    Continue customizing Neovim (btw)   a minute ago   false

Build

git clone github.com/MoXcz/tasks.git
cd tasks
go build .
./tasks

TODO

  • Add clean command to remove all completed tasks. The intention would be to centralize how done tasks are handled to avoid having to read the tasks file in order to find the next id by removing the necessity to manually clean the file. The current implementation for searching the next ID is to just read the last record.
  • Add password command (with things like add or use) to manage passwords. For now it's just an idea, it probably won't replace any existing password managers.
  • Add export command to export tasks to a file in a specific format (JSON or CSV).
  • Add import command to import tasks from a file in a specific format (JSON or CSV).
  • Maybe add tags
  • Add support for SQLite
  • Refactor how the task file is handled when rewriting it.
  • Re-order tasks after deletion (when a tasks is deleted)
  • Add support for JSON
  • Format list command: https://github.com/mergestat/timediff and text/tabwriter

Inspired by:

  1. https://github.com/dreamsofcode-io/goprojects

Documentation

Overview

Copyright © 2025 Oscar Marquez

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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