Skip to main content

A simple cli tool for tomato clock timing

Project description

Tomato Clock CLI

一个简单易用的番茄工作法命令行工具,帮助你高效管理时间和任务。

功能特点

  • 标准的25分钟番茄钟计时
  • 任务管理(添加、列表、删除)
  • 番茄钟完成计数统计
  • 美观的命令行界面(使用Rich库)
  • 数据持久化存储
  • 计时完成通知和提示音

安装

pip install --user tomato-clock-cli

使用方法

添加任务

tomato add "阅读技术文档"

查看任务列表

tomato ls

删除任务

tomato rm <任务ID>

开始番茄钟

# 使用默认25分钟
tomato start <任务ID>

# 自定义时长(例如30分钟)
tomato start <任务ID> -t 30

命令详解

  • add <任务名称> - 添加新任务
  • ls - 列出所有任务(显示ID、名称、完成番茄钟数和创建时间)
  • rm <任务ID> - 删除指定任务
  • start <任务ID> [-t 时长] - 开始指定任务的番茄钟计时
  • -v, --version - 显示版本信息
  • -h, --help - 显示帮助文档

数据存储

任务数据保存在 ~/.config/tomato-clock-cli/tasks.json 文件中。

依赖项

  • rich >= 10.0.0

许可证

MIT

版本

当前版本:0.1.0


开始使用番茄工作法,提高你的工作效率! 🍅

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

tomato_clock_cli-0.1.0.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

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

tomato_clock_cli-0.1.0-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

Details for the file tomato_clock_cli-0.1.0.tar.gz.

File metadata

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

File hashes

Hashes for tomato_clock_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d1913fa6e0648feb92214cd54d5de887c82ca7b9877243280601bab8b4b095d4
MD5 90297b4daef768e9279d274be627a935
BLAKE2b-256 a7b7e6b966dc10967f16aa2db3d8cb62055bb8d6908236d10927dbd3f49a82d5

See more details on using hashes here.

File details

Details for the file tomato_clock_cli-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for tomato_clock_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a244db10f0ffc1a9b2441983f19592b85dcdf45a28908791ef3ded701c04fc82
MD5 b7d822c029efde68370dd95d24a47d56
BLAKE2b-256 2af35517b92075929ab46d843dcc6ceccf1ade61ef5d9b5560a1d13dbedc7ad7

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