litecli cutting off long strings
还没有人认领这个 Issue。
评估
调研方向
使用 issue 中显示的交互式 CLI 查询复现截断问题,然后将其与显示完整字符串的命令行 -e 入口进行比较。跟踪交互式结果格式化路径,并确定是否可以禁用或配置该限制。完成的标准是:交互式输出显示完整字符串,不带不需要的省略号,同时保持现有输出行为不变。
由索引模型根据 Issue 内容生成。
描述
I noticed that litecli is trimming long strings, seemingly after about 495 characters. So instead of showing a full string, it shows 495 characters + "...".
instructions.db> select instructions from data where id="asd2134f32fr23f"
+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| instructions |
+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Preheat oven to 350 degrees. Line 2 (9 x13 inch) baking dishes with foil or parchment paper.. In a bowl, combine the butter, brownie mix, eggs, and water until combined. You want it all to be wet but some lumps will remain.. Divide batter evenly between to 2 prepared pans and spread out even cover the bottom of both pans.. Bake at 350 degrees until a toothpick inserted comes out clean. Allow to cool completely.. Open carton of ice cream. If using the rectangular type. slice ice cream into 6 s... |
+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1 row in set
Time: 0.012s
instructions.db>
However, when passing the the sql statement to litecli, on the command line, I do get the full string.
litecli instructions.db -e "select instructions from data where id='asd2134f32fr23f'"
instructions
Preheat oven to 350 degrees. Line 2 (9 x13 inch) baking dishes with foil or parchment paper.. In a bowl, combine the butter, brownie mix, eggs, and water until combined. You want it all to be wet but some lumps will remain.. Divide batter evenly between to 2 prepared pans and spread out even cover the bottom of both pans.. Bake at 350 degrees until a toothpick inserted comes out clean. Allow to cool completely.. Open carton of ice cream. If using the rectangular type. slice ice cream into 6 slices and place ice cream slices over 1 pan of the baked brownie.. Allow the ice cream to soften slightly and spread evenly over brownie. An offset spatula comes in handy here if you have one!. Remove other brownie from pan and set upside on top of ice cream.Gently press down to secure with ice cream. Cover and freeze for at least 4 hours.. Remove from freezer and cut into 15 ice cream sandwiches.. Wrap each sandwich with plastic wrap and place in a gallon sized freezer bag. Will store for up to 1 month in the freezer. Makes 15 sandwiches
Is there any way to disable this behavior so I can see full strings from within the litecli CLI?
- 主要语言
- Python
- 星标
- 3.3k
- 派生
- 95
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
dbcli/litecli 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
-
难度 2/5 1-3 小时 新手友好度 84/100
-
难度 3/5 1-2 天 新手友好度 66/100
-
难度 2/5 1-3 小时 新手友好度 45/100
-
难度 3/5 1-2 天 新手友好度 45/100
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 75/100
stephrobert/dsoxlab#238 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
-
难度 2/5 1-3 小时 新手友好度 75/100
sublimehq/package_control#1780 ·
-
难度 2/5 1-3 小时 新手友好度 65/100
-
难度 2/5 1-3 小时 新手友好度 70/100
nwg-piotr/nwg-displays#145 ·