Skip to main content

Creating my own version of what a CLI Task manager and To-do-list would look like

Project description

Devcord

Devcord is a CLI tool designed to help you quickly manage your tasks as well as help you monitor your time usage. Along with all the essential to-do list functionalities, Devcord allows you to select a task and start a session on it.

During a session, your time-spent on each of your activity is monitored for you to view later. This is useful for people who want to find out where their time is spent.

None of the data is stored on any server, it is all stored locally on your machine.

Installation

With pip:

pip install --upgrade devcord

Post Installation

To avoid typing devcord repetitively, register an alias in your shell configuration file.

For bash:

alias tasks="devcord tasks"
alias task="devcord task"

On each upgrade, run:

$ devcord init --migrate

This updates the database schema if any changes were made

Usage

For adding tasks

Simple add task:

$ devcord tasks -a "task name"
$ devcord tasks --add "task name"

With description:

$ devcord tasks -a "task name" -d
$ devcord tasks --add "task name" --desc

Opens scrollable text box to enter description

With due date:

$ devcord tasks -a "task name" -dd "dd/mm/yyyy"
$ devcord tasks --add "task name" --due "dd/mm/yyyy"

Complete by today:

$ devcord tasks -a "task name" -t
$ devcord tasks --add "task name" --today

Complete in current week:

$ devcord tasks -a "task name" -w
$ devcord tasks --add "task name" --week

With priority (1-5):

$ devcord tasks -a "task name" -p 3
$ devcord tasks --add "task name" --priority 3

With labels:

$ devcord tasks -a "task name" -lb "label"
$ devcord tasks --add "task name" --label "label"

Add subtask:

$ devcord tasks -a "task name" -st
$ devcord tasks --add "task name" --subtask

For listing tasks

By default, in-progress and pending tasks are listed, with in-progress first followed by pending tasks and completed tasks are skipped.

Simple List tasks:

$ devcord tasks -l
$ devcord tasks --list

List tasks by priority:

$ devcord tasks -l -p 3
$ devcord tasks --list --priority 3

List tasks by label:

$ devcord tasks -l -lb "label"
$ devcord tasks --list --label "label"

List today's tasks:

$ devcord tasks -l -t
$ devcord tasks --list --today

List tasks due in current week:

$ devcord tasks -l -w
$ devcord tasks --list --week

List tasks by status:

$ devcord tasks -l -i
$ devcord tasks --list --completed
$ devcord tasks -l --pending

Specify Output Format:

$ devcord tasks -l -o json
$ devcord tasks --list --output text

Specify Output File:

$ devcord tasks -l --path "path/to/file"

For managing tasks

Pass the keyword to perform required action on the task. The command will then prompt you through a fuzzy finder to enter the task title. The keyword action would be performed on the selected task.

Viewing description:

$ devcord task -d
$ devcord task --desc

Opens a scrollable text box with description

Show substasks:

$ devcord task -st
$ devcord task --subtasks

Mark as inprogress:

$ devcord task -i
$ devcord task --inprogress

Mark as complete:

$ devcord task -c
$ devcord task --completed

Mark as pending:

$ devcord task -pd
$ devcord task --pending

Set deadline to this week:

$ devcord task -w
$ devcord task --week

Set deadline to today:

$ devcord task -t
$ devcord task --today

Delete Task:

$ devcord task -dl
$ devcord task --delete

Modify Title:

$ devcord task -n "new title"
$ devcord task --name "new title"

Modify Priority:

$ devcord task -p 3
$ devcord task --priority 3

Modify Deadline:

$ devcord task -dd "dd/mm/yyyy"
$ devcord task --deadline "dd/mm/yyyy"

Modify Labels:

$ devcord task -lb "label"
$ devcord task --label "label"

Modify Completed Task:

$ devcord task -ar -n "new title"
$ devcord task --archive --name "new title"

Jira Integration

With Jira integration you can view all your issues on devcord itself and sync them as when required with a single command. On your first use of any of the following commands, you'd be ask to setup your configuration for Jira.

Sync with Jira

$ devcord jira --sync

Set Organization URL

$ devcord jira --url

Set Organization Email

$ devcord jira --email

Set Jira Access token

$ devcord jira --token

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

special-octo-robot-0.0.13.tar.gz (27.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

special_octo_robot-0.0.13-py3-none-any.whl (29.5 kB view details)

Uploaded Python 3

File details

Details for the file special-octo-robot-0.0.13.tar.gz.

File metadata

  • Download URL: special-octo-robot-0.0.13.tar.gz
  • Upload date:
  • Size: 27.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.12

File hashes

Hashes for special-octo-robot-0.0.13.tar.gz
Algorithm Hash digest
SHA256 b641fbc5f6ed74cdf8f7498f4ec5b26bc291d7c87c29434621338f58145211c4
MD5 b928fb4ac6bdf406e9f8a86376d9f630
BLAKE2b-256 ff784b541e287e8a83939fe6a28138d8576d3a32dc1dde2b8d036cfc294dc30a

See more details on using hashes here.

File details

Details for the file special_octo_robot-0.0.13-py3-none-any.whl.

File metadata

File hashes

Hashes for special_octo_robot-0.0.13-py3-none-any.whl
Algorithm Hash digest
SHA256 6488c8f70ed1a4d1c6ca8f5981284129c25609530889504693fcb139649d4728
MD5 12f530e202d0906217a0844ad7b0b14a
BLAKE2b-256 595044bd5490f945c09e370b88c349b9acf06d1d849faf11c29016c67fbb40e4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page