Skip to main content

A simple command-line task manager

Project description

Task CLI

A command-line interface (CLI) tool for managing tasks with support for projects, priorities, and persistence.

PyPI version

Installation

Install the package from PyPI:

pip install ojt-task-cli

Features

  • Add Tasks: Create new tasks with optional project and priority.
  • List Tasks: View all tasks, or filter by project/priority.
  • Complete Tasks: Mark tasks as done.
  • Delete Tasks: Remove tasks permanently.
  • Export Tasks: Export tasks to a CSV file.
  • Persistence: Tasks are saved to a JSON file.
  • Sorting: Tasks are automatically sorted by Date, Priority, and Time.
  • Export: Export tasks to a CSV file.

Usage

Add Task

Create a new task.

# Simple
task-cli add "Buy milk"

# With Project and Priority
task-cli add "Finish Report" --project Work --priority High

# Recurring Task (Daily, Weekly, etc.)
task-cli add "Daily Standup" --recurrence daily

# With Due Date
task-cli add "Submit Assignment" --due-date 2023-12-31

List Tasks

View tasks with optional filters.

# List all
task-cli list

# Filter by Project
task-cli list --project Work

# Filter by Priority
task-cli list --priority High

Update Task

Modify an existing task.

# Update Title and Priority
task-cli update <id> --title "New Title" --priority Low

# Update Recurrence
task-cli update <id> --recurrence weekly

# Move from Done -> Pending
task-cli update <id> --status pending

# Update Due Date
task-cli update <id> --due-date 2024-01-15

Complete Task

Mark a task as done.

task-cli done <id>

Note: If the task is recurring, a new pending task will be automatically created.

Delete Task

Permanently remove a task.

task-cli delete <id>

Export Tasks

Export all tasks to a CSV file.

task-cli export <path_to_csv>
# Example
task-cli export tasks.csv

Running Tests

python3 -m unittest discover tests

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

ojt_task_cli-0.0.5.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

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

ojt_task_cli-0.0.5-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

Details for the file ojt_task_cli-0.0.5.tar.gz.

File metadata

  • Download URL: ojt_task_cli-0.0.5.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for ojt_task_cli-0.0.5.tar.gz
Algorithm Hash digest
SHA256 e9f113bf29d03639676ca6a9c97ce5a2b0bd9216253f243e3f18c268d08cf23b
MD5 32d1aa4cadb53d1e2ab7e8441b75cc8a
BLAKE2b-256 11e4dde306c1126b6fa467f3add7c62e7092c6b699f0cbefde6c4f216ef15381

See more details on using hashes here.

File details

Details for the file ojt_task_cli-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: ojt_task_cli-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 7.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for ojt_task_cli-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 4b6fcb1065dfb0ecf8bf736679b65533053cb8d18d20705d8b560ab16b7db3e1
MD5 d080b8fdff29e44cab1942dc30bc0abb
BLAKE2b-256 80a8f6d60caf532865d16dbc18508c98449d85e6c322df9abbf02d08f49bdbf8

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