Command Tool
2018年8月18日大约 8 分钟
taskbook
简介
通过使用 简单且最小化 的使用语法,平坦的学习曲线,使您可以在终端内 跨多个板块,有效地管理任务和笔记.
所有数据都以原子方式写入存储,以防止损坏,并且永远不会与任何第三方实体共享. 已删除的项目会自动存档,并且可以随时完成或恢复.
使用
- 安装
npm install --global taskbook
想法
使用 git 进行数据的保存和备份,十分优秀。
任何工具都可以再创造。比如 todo 其实有很多成熟的工具,但是仍然有空间,不是吗?
termgraph
termgraph python 命令行工具。
安装
pip3 install termgraph
使用
ps: 测试报错
想法
python 和 js 用来写工具,都非常之方便。
termtosvg
termtosvg 可以将 terminal 动画转化为 svg。
作用
有时候我们想演示命令行的动画,要么截图,要么黏贴文字。
这都不够优雅,这种可以让动态过程直观的展现,非常之棒。
使用
- 安装
pip3 install termtosvg
- 实际使用
存储文件如下:
动态效果
/* gjm8 color theme (source: https://terminal.sexy/) */ .foreground {fill: #c5c5c5;} .background {fill: #1c1c1c;} .color0 {fill: #1c1c1c;} .color1 {fill: #ff005b;} .color2 {fill: #cee318;} .color3 {fill: #ffe755;} .color4 {fill: #048ac7;} .color5 {fill: #833c9f;} .color6 {fill: #0ac1cd;} .color7 {fill: #e5e5e5;} .color8 {fill: #1c1c1c;} .color9 {fill: #ff005b;} .color10 {fill: #cee318;} .color11 {fill: #ffe755;} .color12 {fill: #048ac7;} .color13 {fill: #833c9f;} .color14 {fill: #0ac1cd;} .color15 {fill: #e5e5e5;} bash-3.2$  bash-3.2$ p bash-3.2$ py bash-3.2$ pyt bash-3.2$ pyth bash-3.2$ pytho bash-3.2$ python bash-3.2$ python3 bash-3.2$ python3  bash-3.2$ python3 - bash-3.2$ python3 -- bash-3.2$ python3 --v bash-3.2$ python3 --ve bash-3.2$ python3 --ver bash-3.2$ python3 --vers bash-3.2$ python3 --versi bash-3.2$ python3 --versio bash-3.2$ python3 --version  bash-3.2$ e bash-3.2$ ex bash-3.2$ exi bash-3.2$ exit bash: export: `Workbooks.app/Contents/SharedSupport/path-bin:::/Users/houbinbin/it/tools/gradle/gradle-3.3/bin': not a valid identifierbash-3.2$ python3 --versionPython 3.7.0bash-3.2$ exitexit
感想
这个工具感觉就是对 terminal 进行了录屏,然后将图片转换为 SVG。
贡献者
binbin.hou