Hacktoberfest 2026 : les issues que les mainteneurs ont marquées pour octobre, ouvertes et accessibles aux débutants. Parcourir les issues Hacktoberfest

litecli cutting off long strings

Ouverte
#189 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

Évaluation

Difficulté
3/5
Temps estimé
1-2 jours
Accessibilité débutants
35/100
Type d'issue
Bug
Clarté
Plutôt claire
Activité
À l'abandon
Stack technique
python, sqlite
Domaine
cli, databases

Piste de recherche

Reproduisez la troncature avec la requête CLI interactive présentée dans l’issue, puis comparez-la avec le point d’entrée en ligne de commande -e qui affiche la chaîne complète. Suivez le chemin de formatage du résultat interactif et déterminez si la limite peut être désactivée ou configurée. Le travail est terminé lorsque la sortie interactive affiche la chaîne complète sans les points de suspension indésirables, tout en conservant le comportement de sortie existant.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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?

Langage dominant
Python
Étoiles
3.3k
Forks
95
Métriques de merge des PR
Aucune PR mergée en 30 j

Guide de contribution

Ouvrir le guide de contribution

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de dbcli/litecli

Toutes les issues de dbcli/litecli

Issues similaires

Plus d'issues Python

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.