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 devcord

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" -pid task_id
$ devcord tasks --add "task name" --parent task_id

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 task ID after the "task" keyword to perform any action on the task.

Viewing description:

$ devcord task 1 -d
$ devcord task 1 --desc

Opens a scrollable text box with description

Show substasks:

$ devcord task 4 -st
$ devcord task 4 --subtasks

Mark as inprogress:

$ devcord task 3 -i
$ devcord task 3 --inprogress

Mark as complete:

$ devcord task 2 -c
$ devcord task 2 --completed

Mark as pending:

$ devcord task 10 -pd
$ devcord task 10 --pending

Delete Task:

$ devcord task 10 -dl
$ devcord task 10 --delete

Modify Title:

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

Modify Priority:

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

Modify Deadline:

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

Modify Labels:

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

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.7.tar.gz (21.5 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.7-py3-none-any.whl (22.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: special-octo-robot-0.0.7.tar.gz
  • Upload date:
  • Size: 21.5 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.7.tar.gz
Algorithm Hash digest
SHA256 0b54e63e4601a537ce74a320a13efc8ed8af86c4ec0fdca0a1281330a6e558ce
MD5 e957a7c7d6479c87ebc6afb9b2897bd1
BLAKE2b-256 efb0151f533c728a95addd2c665cf30fe26132d6d991f79d54cce93ce3b62b22

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for special_octo_robot-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 942e77cc35c5465fcb7065d88eb0f66d94615f5c877794791e42877986fe6fe0
MD5 13fde8ef47295a0e586c0a018bdae830
BLAKE2b-256 62090d18ee94539a9dd61cbd4a2f3066061b675cc11db734f650fcac0bcadc92

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