Add support for the `--wrap` and `--wordwrap` options from sqlite3
未关闭
- 主要语言
- Python
- 星标
- 3.3k
- 派生
- 95
- PR 合并指标
- 30 天内没有已合并 PR
描述
The [`sqlite3` cli](https://sqlite.org/cli.html) has additional options for the `.mode` command which enable wrapping of text within columns if it exceeds a given width.
For example:
.mode --wrap 40 --wordwrap
This would cause text in columns which are more than 40 characters wide to be wrapped within the column.
So far as I can tell, while `litecli` supports the `.mode` command, it does not support the additional `--wrap` and `--wordwrap` options. It would be nice if support for these could be added. (There is also `-ww` as an alias for `--wordwrap`.)
贡献指南
调研方向
首先跟踪 litecli 对 .mode 命令的处理,并将其支持的选项与 issue 中链接的 sqlite3 CLI 文档进行比较。当 .mode 接受 --wrap、--wordwrap 和 -ww,并对超出请求列宽的文本进行换行时,即视为完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python, sqlite
- 领域
- cli, databases
- Issue 类型
- 功能
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100