Snap 安装时存储与配置文件位于 $SNAP_USER_DATA 而非 $HOME;数据默认存放在 ~/.taskbook/storage,配置在 ~/.taskbook.json;--clear 无短别名,会清空所有看板的已完成任务

npm install --global taskbookREADME 未说明,纯命令行工具,无 GPU 或显存要求
命令行里的任务、看板与笔记管理工具,用极简语法在终端整理待办
在终端里管理任务、看板和笔记的命令行工具,用纯文本文件存储数据,适合习惯键盘操作、不想离开命令行的开发者。
核心能力
- 用 @ 前缀在描述中创建并归类看板
- 提供看板视图与按创建时间的时间线视图
- 支持优先级、收藏、搜索与属性过滤
- 删除项自动归档,可随时查看或恢复
- 数据原子写入本地 JSON 文件,可自定义存储路径
容易踩的坑
- v0.3.00.3.0最新正式版2019-02-13 · 2019-02-13 19:57 UTC
Highlights
- Added new
--begin/-boption to start/pause progress of tasks. (#105) 904a007 - Restore functionality of
--copyoption on snap package. (#123) d917db2 - Improved functionality of
--findoption. (#126) (#110) (#111) 97eb4ec aaf244f - Prevent usage of
--begin&--checkoptions on note items. 39a0d4a - Render
noteinstead ofnoteson single note item existence. (#106) 57b3990 - Docs: Sorted flag options & examples alphabetically. (#107) 1d044f8
- Renamed
in progressindicator toin-progresson stats overview. 080f4c3 - Docs: Added French Translation. (#121) afe62af
- Docs: Improvements for the French Translation. (#122) b0dda8b
- Updated snapcraft package versioning to
x.y.zformat. 0f35d99 - Renamed
libdirectory tosrc. 82c8742 - Docs: Fixed minor typo. (#120) 1c60acd
- Upgraded snapcraft [email protected]. fe2ec38
Thanks
Huge thank you to @codehearts, @allen-munsch, @samsawan, @jalandis, @johnlunney & @Maltemo for contributing and helping out with this release!
All changes
- Added new
- v0.2.00.2.02018-10-21 · 2018-10-21 17:02 UTC
查看更新说明
Highlights
- Added new
--clearoption for deleting all complete tasks at once. (#40) (#43) e52f082 - Added new
--copyoption for coping item descriptions. (#94) (#95) 8b25b9b - Improved verbosity of
--check&--staroptions. (#27) (#51) b6eca64 - Added support for home directory symbol
~. (#3) (#35) 4ef7d20 - Added full support for
Node v6environments. (#20) 3f818d9 - Added
Snapcraftsupport for Linux environments. (#38) 1d57b32 - Improved items ID validation on non-numeric input cases. (#79) 2d315f8
- Added Russian documentation translation. (#77) a08b830
- Added Chinese documentation translation. (#39) f1f0a48
- Restored functionality of the
--help&--versionoptions. (#14) 1f88010
Miscellaneous
- Added snap package installation guide. (#38) (#97) 109a696
- Updated translation guidelines. 78b020d
- Fixed typo on
--editoption alias. (#8) cbdf90e - Upgraded to [email protected] on ci b80d739
- Bumped
signaledependency to latest version. 1d65cbf - Fixed binary name on greeting message. (#6) 9c97de7
Thanks
Huge thank you to @DanielRuf, @hatelove85911, @chinanf-boy, @astronomersiva, @zhadyrassyn, @rosuH, @gebeto, @modulated, @JoshuaCrocker, @aosagie, @ashinzekene & @roccomuso for contributing and helping out with this release!
All changes
- Added new
- v0.1.10.1.12018-07-30 · 2018-07-30 22:32 UTC
查看更新说明
- v0.1.00.1.02018-07-30 · 2018-07-30 22:09 UTC
查看更新说明
Highlights
- Initial release.
4ecce55
- Initial release.
用户点评
登录用户的真实使用记录,可按版本和硬件筛选还没有人点评。第一个说出真实体验的人最有价值。
Description
By utilizing a simple and minimal usage syntax, that requires a flat learning curve, taskbook enables you to effectively manage your tasks and notes across multiple boards from within your terminal. All data are written atomically to the storage in order to prevent corruptions, and are never shared with anyone or anything. Deleted items are automatically archived and can be inspected or restored at any moment.
Read this document in: Albanian - Shqip, Polski, 简体中文, Русский, Français, Deutsch, Portuguese, 日本語, 한국어, Spanish, Bulgarian.
You can now support the development process through GitHub Sponsors.
Visit the contributing guidelines to learn more on how to translate this document into more languages.
Highlights
- Organize tasks & notes to boards
- Board & timeline views
- Priority & favorite mechanisms
- Search & filter items
- Archive & restore deleted items
- Lightweight & fast
- Data written atomically to storage
- Custom storage location
- Progress overview
- Simple & minimal usage syntax
- Update notifications
- Configurable through
~/.taskbook.json - Data stored in JSON file at
~/.taskbook/storage - Data location can be overwritten at runtime
View highlights in a taskbook board.
Contents
- Description
- Highlights
- Install
- Usage
- Views
- Configuration
- Flight Manual
- Development
- Related
- Team
- Sponsors
- License
Install
Yarn
yarn global add taskbook
NPM
npm install --global taskbook
Snapcraft
snap install taskbook
snap alias taskbook tb # set alias
Note: Due to the snap's strictly confined nature, both the storage & configuration files will be saved under the $SNAP_USER_DATA environment variable instead of the generic $HOME one.
Usage
$ tb --help
Usage
$ tb [<options> ...]
Options
none Display board view
--archive, -a Display archived items
--begin, -b Start/pause task
--check, -c Check/uncheck task
--clear Delete all checked items
--copy, -y Copy item description
--delete, -d Delete item
--edit, -e Edit item description
--find, -f Search for items
--help, -h Display help message
--list, -l List items by attributes
--move, -m Move item between boards
--note, -n Create note
--priority, -p Update priority of task
--restore, -r Restore items from archive
--star, -s Star/unstar item
--taskbook-dir Define a custom taskbook directory
--task, -t Create task
--timeline, -i Display timeline view
--version, -v Display installed version
Examples
$ tb
$ tb --archive
$ tb --begin 2 3
$ tb --check 1 2
$ tb --clear
$ tb --copy 1 2 3
$ tb --delete 4
$ tb --edit @3 Merge PR #42
$ tb --find documentation
$ tb --list pending coding
$ tb --move @1 cooking
$ tb --note @coding Mergesort worse-case O(nlogn)
$ tb --priority @3 2
$ tb --restore 4
$ tb --star 2
$ tb --taskbook-dir .custom-taskbook-dir
$ tb --task @coding @reviews Review PR #42
$ tb --task @coding Improve documentation
$ tb --task Make some buttercream
$ tb --timeline
Views
Board View
Invoking taskbook without any options will display all saved items grouped into their respective boards.
Timeline View
In order to display all items in a timeline view, based on their creation date, the --timeline/-i option can be used.
Configuration
To configure taskbook navigate to the ~/.taskbook.json file and modify any of the options to match your own preference. To reset back to the default values, simply delete the config file from your home directory.
The following illustrates all the available options with their respective default values.
{
"taskbookDirectory": "~",
"displayCompleteTasks": true,
"displayProgressOverview": true
}
In Detail
taskbookDirectory
- Type:
String - Default:
~
Filesystem path where the storage will be initialized, i.e: /home/username/the-cloud or ~/the-cloud
If left undefined the home directory ~ will be used and taskbook will be set-up under ~/.taskbook/.
displayCompleteTasks
- Type:
Boolean - Default:
true
Display tasks that are marked as complete.
displayProgressOverview
- Type:
Boolean - Default:
true
Display progress overview below the timeline and board views.
Flight Manual
The following is a minor walkthrough containing a set of examples on how to use taskbook. In case you spotted an error or think that an example is not to clear enough and should be further improved, please feel free to open an issue or pull request.
Create Task
To create a new task use the --task/-t option with your task's description following right after.
$ tb -t Improve documentation
Create Note
To create a new note use the --note/-n option with your note's body following right after.
$ tb -n Mergesort worse-case O(nlogn)
Create Board
Boards are automatically initialized when creating a new task or note. To create one or more boards, include their names, prefixed by the @ symbol, in the description of the about-to-be created item. As a result the newly created item will belong to all of the given boards. By default, items that do not contain any board names in their description are automatically added to the general purpose; My Board.
$ tb -t @coding @docs Update contributing guidelines
Check Task
To mark a task as complete/incomplete, use the --check/-c option followed by the ids of the target tasks. Note that the option will update to its opposite the complete status of the given tasks, thus checking a complete task will render it as pending and a pending task as complete. Duplicate ids are automatically filtered out.
$ tb -c 1 3
Begin Task
To mark a task as started/paused, use the --begin/-b option followed by the ids of the target tasks. The functionality of this option is the same as the one of the above described --check option.
$ tb -b 2 3
Star Item
To mark one or more items as favorite, use the --star/-s option followed by the ids of the target items. The functionality of this option is the same as the one of the above described --check option.
$ tb -s 1 2 3
Copy Item Description
To copy to your system's clipboard the description of one or more items, use the --copy/-y option followed by the ids of the target items. Note that the option will also include the newline character as a separator to each pair of adjacent copied descriptions, thus resulting in a clear and readable stack of sentences on paste.
$ tb -y 1 2 3
Display Boards
Invoking taskbook without any options will display all of saved items grouped into their respective boards.
$ tb
Display Timeline
In order to display all items in a timeline view, based on their creation date, the --timeline/-i option can be used.
$ tb -i
Set Priority
To set a priority level for a task while initializing it, include the p:x syntax in the task's description, where x can be an integer of value 1, 2 or 3. Note that all tasks by default are created with a normal priority - 1.
1- Normal priority2- Medium priority3- High priority
$ tb -t @coding Fix issue `#42` p:3
To update the priority level of a specific task after its creation, use the --priority/-p option along with the id the target task, prefixed by the @ symbol, and an integer of value 1, 2 or 3. Note that the order in which the target id and priority level are placed is not significant.
$ tb -p @1 2
Move Item
To move an item to one or more boards, use the --move/-m option, followed by the target item id, prefixed by the @ symbol, and the name of the destination boards. The default My board can be accessed through the myboard keyword. The order in which the target id and board names are placed is not significant.
$ tb -m @1 myboard reviews
Delete Item
To delete one or more items, use the --delete/-d options followed by the ids of the target items. Note that deleted items are automatically archived, and can be inspected or restored at any moment. Duplicate ids are automatically filtered out.
$ tb -d 1 2
Delete Checked Tasks
To delete/clear all complete tasks at once across all boards, use the --clear option. Note that all deleted tasks are automatically archived, and can be inspected or restored at any moment. In order to discourage any possible accidental usage, the --clear option has no available shorter alias.
$ tb --clear
Display Archive
To display all archived items, use the --archive/-a option. Note that all archived items are displayed in timeline view, based on their creation date.
$ tb -a
Restore Items
To restore one or more items, use the --restore/-r option followed by the ids of the target items. Note that the ids of all archived items can be seen when invoking the --archive/-a option. Duplicate ids are automatically filtered out.
$ tb -r 1 2
List Items
To list a group of items where each item complies with a specific set of attributes, use the --list/-l option followed by the desired attributes. Board names along with item traits can be considered valid listing attributes. For example to list all items that belong to the default myboard and are pending tasks, the following could be used;
$ tb -l myboard pending
The by default supported listing attributes, together with their respective aliases, are the following;
myboard- Items that belong toMy boardtask,tasks,todo- Items that are tasks.note,notes- Items that are notes.pending,unchecked,incomplete- Items that are pending tasks.progress,started,begun- Items that are in-progress tasks.done,checked,complete- Items that complete tasks.star,starred- Items that are starred.
Search Items
To search for one of more items, use the --find/-f option, followed by your search terms.
$ tb -f documentation
Runtime taskbook directory override
To override the configured storage location, use the --taskbook-dir flag or TASKBOOK_DIR environment variable. While Taskbook is designed to provide a multiple board approach for all of your projects, these options enable alternative use cases. Setup per project storage or run multiple global boards like home and work.
Note, if both the flag and environment variable are present Taskbook will use the flag value.
$ tb --taskbook-dir .custom-taskbook-dir
$ TASKBOOK_DIR=~/hometasks tb
Development
For more info on how to contribute to the project, please read the contributing guidelines.
- Fork the repository and clone it to your machine
- Navigate to your local fork:
cd taskbook - Install the project dependencies:
npm installoryarn install - Lint the code for errors:
npm testoryarn test
Related
- signale - Highly configurable logging utility
- qoa - Minimal interactive command-line prompts
- hyperocean - Deep oceanic blue Hyper terminal theme
Team
- Klaudio Sinani (@klaudiosinani)
- Mario Sinani (@mariosinani)
Sponsors
A big thank you to all the people and companies supporting our Open Source work: