dbcli / litecli

CLI for SQLite Databases with auto-completion and syntax highlighting
https://litecli.com
BSD 3-Clause "New" or "Revised" License
2.09k stars 67 forks source link

Add verbose feature to favorite_query command #100

Closed zzl0 closed 3 years ago

zzl0 commented 3 years ago

Description

Add verbose feature to favorite_query command.

playground/test.db> \f simple
+---------+-----+
| one     | two |
+---------+-----+
| hello!  | 10  |
| goodbye | 20  |
+---------+-----+

playground/test.db> \f+ simple
> select * from tbl1
+---------+-----+
| one     | two |
+---------+-----+
| hello!  | 10  |
| goodbye | 20  |
+---------+-----+

Related issue: https://github.com/dbcli/litecli/issues/99

Checklist

codecov-io commented 3 years ago

Codecov Report

Merging #100 into master will increase coverage by 0.01%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #100      +/-   ##
==========================================
+ Coverage   62.36%   62.38%   +0.01%     
==========================================
  Files          23       23              
  Lines        1937     1938       +1     
==========================================
+ Hits         1208     1209       +1     
  Misses        729      729              
Impacted Files Coverage Δ
litecli/packages/special/iocommands.py 50.78% <100.00%> (+0.19%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 11c87db...bb0f9c4. Read the comment docs.

amjith commented 3 years ago

Looks good. :flamingo: