Commit Graph

132 Commits

Author SHA1 Message Date
Binaek Sarkar
7a16ec8c57 Updates usages of 'go-kit; for changes in Filewatcher and String/Hash helpers. Closes #2779 2022-11-30 10:12:03 +00:00
Binaek Sarkar
d2f8541385 Update the update checker to run asynchronously. Closes #2770 2022-11-25 11:26:50 +00:00
Binaek Sarkar
b56447cbcc Consolidates setting of CLI flag shorthand. Closes #2403 2022-11-09 10:31:09 +00:00
kai
804cc6f3bf Fix crash when plugin list fails to connect to database.
Improve logging for login command
2022-11-07 10:37:34 +00:00
kai
7e4ecf3724 Update argument descriptions for --output --export, --snapshot-location
Remove 'check' from dashboard arg descriptions
Do not show "Output format defaulted to 'none'" message if sharing a snapshot
remove query timeout from database options
Fix snapshot creation crash when required inputs are not provided
2022-11-07 10:37:34 +00:00
Binaek Sarkar
e5a14bce00 Adds 'list' sub command for 'query', 'check' and 'dashboard'. Closes #2653 2022-11-03 15:58:56 +00:00
Puskar Basu
7228dedca2 Fix unintuitive errors from steampipe plugin commands when a plugin (version) is missing. Closes #2361 2022-11-03 11:09:45 +00:00
michizhou
f80f9c1b21 Deprecate workspace-chdir, replace with mod-location. Closes #2511 2022-10-19 11:08:34 +01:00
kaidaguerre
ef845286c1 Add support for sharing snapshots. Add snapshot output and export format for query and check. Add ability to run named dashboards. #2473 2022-10-05 15:30:57 +01:00
kaidaguerre
404dd35e21 Update database code to use pgx interface so we can leverage the connection pool hook functions to pre-warm connections. Closes #2422 (#2438)
* Provide feedback for failed prepared statements
* Move error functions to error_helpers
* Make maintenance client retriable
2022-10-05 12:38:57 +01:00
Puskar Basu
1647311a87 Fix the alignment of plugin update/install outputs. Closes #2417 2022-09-05 11:34:33 +01:00
Puskar Basu
1ea9a7edfe Use ellipsis char instead of 3 dots in plugin update/install when cutting off the plugin name. Closes #2355 2022-09-02 13:48:37 +01:00
kaidaguerre
ca64841eee Disable FDW update message during plugin update. Closes #2312 # 2022-08-09 17:46:25 +01:00
kaidaguerre
5193c70395 Restructure steampipe repo to use pkg folder. Closes #2204 2022-06-27 11:36:03 +01:00
kaidaguerre
938ad80d37 Update dashboard snapshot format, making control/benchmark output consistent with dashboards. Closes #2154 2022-06-15 16:01:51 +01:00
Puskar Basu
47120a8701 Improve the response to "steampipe plugin update all". Closes #2125 2022-06-07 14:08:36 +01:00
kaidaguerre
e0ed768942 Fix update check failing for large numbers of plugins, with little or no feedback on the error. Closes #2118 2022-05-25 17:56:48 +01:00
kaidaguerre
ac694676d4 Fix intermittent panic error on plugin install. Closes #2086 2022-05-19 14:27:50 +01:00
Binaek Sarkar
269e550961 Fixes issue where plugin install crashes for non-existent plugins. Closes #1896 2022-04-19 17:03:43 +01:00
Binaek Sarkar
259a88f191 Updates to plugin operations output including async update and install. Closes #1780. Closes #1778. Closes #1777. Closes #1776 2022-04-19 12:02:14 +01:00
Binaek Sarkar
da70afdfe4 Add support for plugins to switch over to arm64 build for darwin even in the same version. Closes #1796 2022-04-13 14:24:14 +01:00
Binaek Sarkar
7f5a379731 Updates database version to postgresql14. Closes #43 2022-04-01 14:52:52 +01:00
Puskar Basu
41cf8926ae Use constants as exit codes in steampipe cli. Closes #1577 2022-04-01 14:06:38 +01:00
kaidaguerre
35330a8fb0 Update reports functionality. Add reflection tables for report entities. Automatically install report assets. Closes #1265. Closes #567 Closes #1364 2022-01-31 15:17:18 +00:00
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
kaidaguerre
33f55e584f Add support for mod management commands. Closes #442. Closes #443 2021-12-21 14:10:00 +00:00
Puskar Basu
4aa72557f4 Improve plugin uninstall output when connections remain. Closes #1158 2021-12-10 14:36:28 +00:00
Binaek Sarkar
dad700b26c Add context awareness in services and commands. Closes #1206. Closes #1214. Closes #1215 2021-12-09 14:02:19 +00:00
kaidaguerre
ad3e6447c0 Add support for connecting to a remote database, andf for connecting to Stweampipe #1175 2021-11-24 16:44:26 +00:00
Puskar Basu
e9ab515a0d Non-turbot plugin installs should show link to documentation. Closes #1075 2021-11-09 11:23:00 +00:00
kaidaguerre
e15b78308f Update and tidy the help text. Closes #1039 2021-10-22 13:27:37 +01:00
Puskar Basu
89cd993ab6 Review exit codes for steampipe commands. Closes #833 2021-10-22 10:10:32 +01:00
kaidaguerre
bd791223e8 Add support for plugins with dynamic schema. Closes #1012 2021-10-18 12:20:13 +01:00
Puskar Basu
a495d7a843 plugin commands should exit with a non-zero code on error. Closes #980 2021-10-08 14:11:44 +01:00
Binaek Sarkar
352afad764 Allow plugin uninstall even if there are active connections. Closes #852 2021-09-28 16:52:36 +01:00
kaidaguerre
35a6fe9e34 Add support for connecting to a remote database client. Closes #908 2021-09-15 13:29:26 +01:00
kaidaguerre
b7aa42ceb3 Refactor service code to make it simpler to support external database connections. Closes #696 2021-07-26 17:07:28 +01:00
Binaek Sarkar
a73ffee3f9 Fixes nil pointer exception in steampipe plugin. Closes #678 2021-07-23 12:06:24 +01:00
kaidaguerre
f5796f0db3 In interactive mode, perform connection refresh and workflow loading asynchronously. Closes #627 2021-07-15 16:36:37 +01:00
tyagiparth
3fbf2b542e Split versions.json into 2 files, one in the plugins dir, one in the database dir. Closes #576 2021-07-13 13:08:16 +01:00
Binaek Sarkar
abd5f5ec7c Update plugin cmds to start the service in PreRun and stop service in PostRun. Close #578 2021-07-01 09:21:45 +01:00
tyagiparth
418a34c6cb Validate that plugin versions required by mod are installed. Closes #557 2021-06-17 12:42:41 +01:00
Binaek Sarkar
93f7d8192c Fix to display timing profile data when appropriate env var is set. Closes #513 2021-06-11 16:18:52 +01:00
Binaek Sarkar
0f4c510b16 Add support for autocomplete in bash. Closes #481 2021-06-11 16:17:50 +01:00
kai
bd65bc5b75 Support controls with multiple parents. Add support for 'json' output format 2021-05-20 16:14:02 +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
kaidaguerre
f87cc07785 Add workspace support - create named queries from sql files in current directory. Closes #369 2021-04-12 16:52:43 +01:00
kaidaguerre
0da4feb894 Add search-path and search-path-prefix arguments to query command. Closes #358 2021-04-12 15:32:48 +01:00
Justin Dray
040f9fc636 Update references from registry.steampipe.io to hub.steampipe.io (#361) 2021-04-09 15:26:50 +01:00