Skip to main content

A command line tool for managing todos.

Project description

                                                   __
 __________  ____  ____        _________ ___  ____/ /
/_  __/ __ \/ __ \/ __ \______/ ___/ __ `__ \/ __  / 
 / / / /_/ / /_/ / /_/ /_____/ /__/ / / / / / /_/ /  
/_/  \____/_____/\____/      \___/_/ /_/ /_/\__,_/   
                         

欢迎使用 todo-cmd,这是一个简单的工具,帮助您在命令行中轻松管理代办、记录完成事项。

Welcome to the todo-cmd! This is a simple tool to help you manage your tasks.

snap

1. 安装|Installation

有多种安装方法,推荐使用 uvpipx

1.1 👍 uv 或 pipx 安装 | Use uv or pipx

# if you don't have uv
pip3 install uv

# Use uv
uv tool install todo-cmd

# or use pipx
pipx install todo-cmd

卸载 | uninstall

# Use uv
uv tool uninstall todo-cmd

# Use pipx
pipx uninstall todo-cmd

1.2 pip 安装 | pip install

git clone https://github.com/paperplane110/todo_cmd.git
cd todo_cmd
pip3 install .

2. 使用方法|Usage

Add a todo task

todo add ${task}

# or use shortcut
todo a ${task}

# with deadline
todo add ${task} --deadline ${YYYYMMdd}
todo add ${task} -ddl ${YYYYMMdd}

Add a finished task

todo log ${task}

# or use shortcut
todo l ${task}

List tasks

List all tasks

todo ls
┏━━━━┳━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━━━━━━┓
┃ id ┃ Status ┃ Task                                 ┃  Deadline  ┃ Finish Date ┃
┡━━━━╇━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━━━━━━┩
│ 10 │  expr  │ Apply a card for my electric-bike    │ 2024-11-10 │      /      │
├────┼────────┼──────────────────────────────────────┼────────────┼─────────────┤
│ 9  │  todo  │ ask Liuke about perf monitor scripts │ 2024-11-13 │      /      │
├────┼────────┼──────────────────────────────────────┼────────────┼─────────────┤
│ 8  │  done  │ start a pr in rich                   │ 2024-11-12 │ 2024-11-12  │
│ 7  │  done  │ refactor template and ask            │ 2024-11-12 │ 2024-11-11  │
│ 6  │  done  │ find ICBC card                       │ 2024-11-12 │ 2024-11-12  │
│ 4  │  done  │ finish todo rm                       │ 2024-11-10 │ 2024-11-10  │
│ 3  │  done  │ go to ICBC update ID info            │ 2024-11-12 │ 2024-11-12  │
│ 1  │  done  │ add some translation                 │ 2024-11-10 │ 2024-11-10  │
└────┴────────┴──────────────────────────────────────┴────────────┴─────────────┘

List tasks by given status (todo|done|expr)

todo ls --${status}

More options: todo ls

Set a Task Done

todo done ${task_id}

Discard a Task

todo discard ${task_id}

Remove a Task

todo rm ${task_id}

Modify a Task

todo mod ${task_id}

# or use shortcut
todo m ${task_id}

More options: todo mod

Configuration

3. 开发者|For Developer

Install todo_cmd in editable mode

pip install -e .

4.设计文档|Design Documents

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

todo_cmd-0.11.0.tar.gz (16.9 kB view details)

Uploaded Source

Built Distribution

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

todo_cmd-0.11.0-py3-none-any.whl (21.9 kB view details)

Uploaded Python 3

File details

Details for the file todo_cmd-0.11.0.tar.gz.

File metadata

  • Download URL: todo_cmd-0.11.0.tar.gz
  • Upload date:
  • Size: 16.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.21

File hashes

Hashes for todo_cmd-0.11.0.tar.gz
Algorithm Hash digest
SHA256 32d94c31dbea69c96aeb61b4ec60f6200b5d60dbe1a0011947bdb3fe093d32b6
MD5 e57161926053e1664a71db6592870179
BLAKE2b-256 b7a4e97015a7264e5a2f74d75980566152c16273c224278b33e16ca6315229bb

See more details on using hashes here.

File details

Details for the file todo_cmd-0.11.0-py3-none-any.whl.

File metadata

  • Download URL: todo_cmd-0.11.0-py3-none-any.whl
  • Upload date:
  • Size: 21.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.21

File hashes

Hashes for todo_cmd-0.11.0-py3-none-any.whl
Algorithm Hash digest
SHA256 742cda9f80cea0783b08a45c4fe91b5f7bb54252b18958e16055c62021d70a8e
MD5 a6889ac59c15057097ac97b17548c883
BLAKE2b-256 e0b198632fd1e9ba255a5454af5626e4aedd92cc2c82c53ba8895a0ae3273ab8

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