dbcli / dbcli/litecli

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

Open
#136 0 comments 5 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
3.3k
Forks
95
PR merge metrics
No merged PRs in 30d

Description

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`.)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.