Commit Graph

20 Commits

Author SHA1 Message Date
Puskar Basu
9be7fb74f1 Cloud and workspace flags should not be Global Flags as they are not used for all commands. Closes #3542 2023-09-12 15:27:56 +01:00
Puskar Basu
f1c9de6dc1 Add examples to mod commands help outputs. Closes #1817 2023-09-11 15:59:57 +01:00
Binaek Sarkar
3cf30ba45d Fixes issue where 'mod install' on an existing mod would sometimes corrupt the 'mod.sp' file.
Closes #3376
Closes #3383
Closes #3280
Closes #2676
2023-05-09 22:34:09 +01:00
Puskar Basu
3bdd2eedde Improve error message when running steampipe check/dashboard outside a mod and refactor default mod creation. Closes #3215
Rationalise default mod creation 
Fix nil ref exception for mod commands when using legacy `requires` block

---------

Co-authored-by: kai <kai@turbot.com>
2023-04-20 12:02:50 +01:00
Binaek Sarkar
a6919cca75 Fixes issue where a mod would install even if plugin dependencies are not met. Closes #3041 2023-04-18 15:28:58 +01:00
Meet Rajesh Gor
7a5abf86bb fix: trim protocol in url for mod commands. Closes #3257 2023-04-13 14:47:48 +01:00
Aaronstotle
17a00353ae Add check to the mod init function so users are aware if it's run in the home directory or if there are a large number of non-mod files in the path. Closes #2562 2023-04-06 09:10:41 +01:00
Binaek Sarkar
17306488fc Fixes issue where fdw was not updated for 'service restart' command. Closes #3172 2023-03-10 12:33:59 +00:00
Binaek Sarkar
b56447cbcc Consolidates setting of CLI flag shorthand. Closes #2403 2022-11-09 10:31:09 +00:00
michizhou
f80f9c1b21 Deprecate workspace-chdir, replace with mod-location. Closes #2511 2022-10-19 11:08:34 +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
kaidaguerre
5193c70395 Restructure steampipe repo to use pkg folder. Closes #2204 2022-06-27 11:36:03 +01:00
kaidaguerre
b6d84d256a Add support for setting dependent mod variable values using an spvars or by setting and Args property in the mod Require block. Closes #2076. Closes #2077 2022-05-17 14:31:40 +01:00
Puskar Basu
41cf8926ae Use constants as exit codes in steampipe cli. Closes #1577 2022-04-01 14:06:38 +01:00
Binaek Sarkar
f5bb97dd05 Add cmd docs for mod commands. Closes #1652 2022-03-22 14:49:11 +00:00
kaidaguerre
ce84fccf66 Update report execution to add support for runtime dependencies #1454 2022-02-15 15:54:19 +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
kai
f587ce687d Update mod management command help text. #443 2021-12-21 17:47:33 +00:00
kaidaguerre
33f55e584f Add support for mod management commands. Closes #442. Closes #443 2021-12-21 14:10:00 +00:00