Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

litecli cutting off long strings

オープン
#189 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
python, sqlite
領域
cli, databases

調査の方向性

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 はありません

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

dbcli/litecli のほかの issue

dbcli/litecli の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。