litecli cutting off long strings
評估
研究方向
使用 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
- 分支
- 99
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
dbcli/litecli 的其他 Issue
-
難度 2/5 1-3 小時 新手友好度 84/100
-
can't run any llm command for my local db. error: Preparing schema information to feed the llm near "1": syntax error可能已有人在做 關聯的 PR 仍在進行中或已合併。 未關閉
難度 3/5 1-2 天 新手友好度 45/100
-
Automatically decode hex for BLOB fields.可能已有人在做 @dbcli-symphony 於 128 天前認領。 未關閉
難度 4/5 3-5 天 新手友好度 35/100
-
symphony:review
難度 2/5 1-3 小時 新手友好度 45/100
-
難度 2/5 1-3 小時 新手友好度 25/100
相似的 Issue
-
approved Good First Issue scope: docs
難度 1/5 1 小時以內 新手友好度 85/100
hiero-ledger/hiero-sdk-python#2730 · 3 則留言 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 62/100
wemake-services/wemake-django-template#3178 · 1 個 reaction ·
維護者通常 1 天內回覆
-
md/asciidoc/csv: an explicit `encoding="utf-8"` keeps a leading BOM, the auto-detect path drops it未關閉
難度 2/5 1-3 小時 新手友好度 82/100
docling-project/docling#4846 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 78/100
neurostuff/NiMARE#1181 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 78/100
pytest-dev/pytest#15180 ·
維護者通常 1 天內回覆