Skip to content
项目

关于

☑️ 用于管理 todo.txt 文件的简单、可扩展 Shell 脚本。

开发工具

这些数字如何统计

实测星标增长

24小时
+2
7天
+5
15天
+5
1个月
+10

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

todo.txt-cli

A simple and extensible shell script for managing your todo.txt file.

CI GitHub issues GitHub forks GitHub stars GitHub license Gitter

gif

Read our contributing guide if you're looking to contribute (issues/PRs/etc).

Installation

Download

Download the latest stable release for use on your desktop or server.

OS X / macOS

brew install todo-txt

cp -n $(brew --prefix)/opt/todo-txt/todo.cfg ~/.todo.cfg

Note: The -n flag for cp makes sure you do not overwrite an existing file.

Linux

From command line

make
make install
make test

NOTE: Makefile defaults to several default paths for installed files. Adjust to your system:

  • INSTALL_DIR: PATH for executables (default /usr/local/bin)
  • CONFIG_DIR: PATH for the todo/config configuration template (default /usr/local/etc)
  • BASH_COMPLETION: PATH for autocompletion scripts (default to /usr/local/share/bash-completion/completions)
# Note: Showcasing config overrides for legacy locations; NOT recommended!
make install CONFIG_DIR=/etc INSTALL_DIR=/usr/bin BASH_COMPLETION=/etc/bash_completion.d

Arch Linux

Package todotxt in AUR

Configuration

No configuration is required; however, most users tweak the default settings (e.g. relocating the todo.txt directory to a subdirectory of the user's home directory, or onto a cloud drive (via the TODO_DIR variable)), modify the colors, add additional highlighting of projects, contexts, dates, and so on. A configuration template with a commented-out list of all available options is included. It is recommended to copy that template into one of the locations listed by todo.sh help on -d CONFIG_FILE, even if it is installed in the global configuration location (/etc/todo/config).

Usage

todo.sh [-+@aAcDfhMnNpPtTvVx] [-d todo_config] action [task_number] [task_description]

For example, to add a todo item, you can do:

todo.sh add "THING I NEED TO DO +project @context"

Read about all the possible commands in the USAGE.

Release History

See CHANGELOG.md

Support

  • GitHub Discussions: questions, troubleshooting, ideas and suggestions
  • GitHub Issues: report bugs and request features here (after positive feedback in the chat or discussions)

Community

Contributing

We welcome all contributions. First read our Contributor Code of Conduct and then get started contributing. By participating in this project you agree to abide by its terms.

License

GNU General Public License v3.0 © todo.txt org

探索相关项目

加载中…