Commit Graph

36 Commits

Author SHA1 Message Date
kaidaguerre
efbebd99ee Decouple spinner display code from database and execution layer. Closes #1290 2022-01-06 11:54:18 +00:00
kaidaguerre
e0ff19a280 Update package naming to be consistent and follow Go standards. Closes #1282
General code spring cleaning:
* move file paths from `consts` package to `filepaths`
* move InitData and ExportData to query and control packages
2022-01-04 12:28:36 +00:00
Binaek Sarkar
a627cf0180 Disable progress when running in a non-tty environment. Closes #1210 2021-12-13 09:30:53 +00:00
Puskar Basu
d5555d16f3 Show query timing at the end of the query results. Closes #1177 2021-11-30 12:32:47 +00:00
Binaek Sarkar
55bad37d65 Fix issue where check progress reports negative values when errors occur. Closes #1131 2021-11-19 15:58:55 +00:00
kaidaguerre
aa6137e189 When cli displays error messages from plugins, they should be prefixed with plugin name. Do not show plugin error messages in JSON/CSV output. Closes #1110. Closes #1071 2021-11-16 10:30:43 +00:00
Binaek Sarkar
3e6c0aa541 Add support to fall back to more (if available) - where less is not available in the environment. Closes #1072 2021-11-11 14:44:14 +00:00
kaidaguerre
7e7e0dd130 Add support for parallel control execution. Only spawn a single plugin per steampipe connection - defer plugin spawning to a PluginManager service. CLoses#1073, Closes #1001 2021-11-04 11:29:28 +00:00
kaidaguerre
9b941ecdcf Add support for variables. Closes #754 2021-08-06 11:10:53 +01:00
kaidaguerre
3fc3f970e1 Show timer result before query output. Closes #655 2021-07-20 17:53:05 +01:00
Binaek Sarkar
901ec350bd Fixes issue where spinner message is not shown for FDW update. Closes #643 2021-07-19 13:42:02 +01:00
kaidaguerre
0be7f85563 Do not disable pager when errors are displayed in interactive mode. Closes #606 2021-07-14 11:52:20 +01:00
kai
4dbc6bad6b Initial iteration of control result display code 2021-05-20 16:11:50 +01:00
Binaek Sarkar
468244aa40 Fix spinner displaying multiple newlines if spinner text is wider than the terminal. Closes #450 2021-05-12 13:47:27 +01:00
Binaek Sarkar
5284d1021c fixes issue where column headers were uppercase in output of .inspect. Closes #439 (#441) 2021-05-04 09:47:01 +01:00
kaidaguerre
97de889217 steampipe query should only use paging in interactive mode. File watching should default to true. Closes #390. Closes #394 (#396) 2021-04-15 16:36:50 +01:00
Binaek Sarkar
5c47e3b9d7 Refactor display code for plugin update and plugin install. Closes #274 2021-03-26 12:41:29 +00:00
Binaek Sarkar
765308dcfa Fix extra trailing white-space issue in line output. Closes #332 2021-03-26 12:40:33 +00:00
Binaek Sarkar
39e95e9e18 Remove HTML escaping from JSON output. Closes #336 2021-03-26 12:39:47 +00:00
Binaek Sarkar
c4620729a9 .header does not work with table output. Fixes #312 2021-03-19 20:38:53 +00:00
Binaek Sarkar
ce91eb980d Use default viper instance rather than an instance per command. Closes #243 2021-03-15 16:11:36 +00:00
Binaek Sarkar
7b4e7fb0f1 Wrap plugin list output to window width. Closes #235 (#244) 2021-03-03 12:29:10 +00:00
kai
6f808e3e98 Refactor error reporting in the display code - pass row result and error on same channel to avoid timing issues. Closes #211 2021-02-22 17:41:06 +00:00
kai
2937e08128 Ensure hydrate errors are reported. #206 2021-02-20 15:55:04 +00:00
kaidaguerre
e86f1f0f30 Ensure all hydrate errors are reported. Closes Issue 206 (#207) 2021-02-19 20:39:00 +00:00
Binaek Sarkar
b81bd93075 Column headers in table output should respect casing of the column name. Closes #181 2021-02-19 20:24:05 +00:00
kaidaguerre
c1a62af8c2 Display null column values as <null> instead of an empty string. Closes #186 2021-02-17 12:59:10 +00:00
Binaek Sarkar
277fec6f93 Add 'line' output format. Closes #114 2021-02-09 17:25:33 +00:00
Rupesh Patil
9b7d473a1e JSON and bool columns displaying as strings. Closes #95 2021-02-01 14:28:48 +00:00
Binaek Sarkar
995c51eaf8 Column headings should be lower case, not UPPER. Closes #94 2021-01-29 15:33:52 +00:00
Binaek Sarkar
10f28228ab enforce max column width. Make .inspect description column wider. Closes #11 . Closes #12 2021-01-28 13:23:02 +00:00
kaidaguerre
0877e8aec5 Add spinner for slow queries. Closes #15 (#77) 2021-01-27 14:06:44 +00:00
kaidaguerre
15bb4818aa results paging fails for very long rows (> 64k chars). Closes #75 2021-01-27 13:17:13 +00:00
tyagiparth
efc6396450 [Fix] Columns are showing different values in output as json. closes #14 (#55) 2021-01-25 09:49:11 +00:00
kai
737bc4a62f metaqueries controlling boolean modes are displaying wrong status when no bool paramater is passed. Closes #48 2021-01-22 10:22:08 +00:00
kai
dbd4621af4 Initial commit 2021-01-19 16:46:22 +00:00