dbcli / dbcli/litecli

Add support for the `--wrap` and `--wordwrap` options from sqlite3

未关闭
#136 0 条评论 5 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
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

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。