Commit graph

59 commits

Author SHA1 Message Date
92b05a81c7
refactor: improvements to CLI and update pkg 2025-04-26 17:46:49 -06:00
5b28ea4575
cmd: allow short opts for username/password 2025-04-26 17:46:01 -06:00
6c5e958863
fix: added username/password to collect params 2025-04-26 17:46:00 -06:00
4dd01867f7
refactor: change error message to warning 2025-04-26 17:45:59 -06:00
d4443ac6c9
fix: added secrets file path to collect parameters 2025-04-26 17:45:57 -06:00
842e864384
refactor: updated description/example and added 'secrets-file' flag to cmd 2025-04-26 17:44:49 -06:00
Alex Lovell-Troy
ee1fc327e2
feat(secrets): implement SecretStore interface and StaticStore/LocalStore for credential management 2025-04-26 17:19:12 -06:00
ccce61694b
fix: changed 'update' cmd to use gofish 2025-04-26 17:17:04 -06:00
e19af0ce0c
refactor: moved internal functions to pkg and updated refs 2025-04-26 17:15:16 -06:00
94a1ea33fd
cmd: exported scan and collect commands for external use 2024-12-11 10:14:35 -07:00
d889082e80
updated all references 2024-11-03 19:53:48 -07:00
David Allen
4597f63d12
Fixed issue with host string and added internal url package 2024-08-14 10:57:30 -06:00
David Allen
15de7c16c0
Fixed viper flag binding in collect cmd 2024-08-13 13:40:26 -06:00
David Allen
81ec43a923
Minor changes to fix lint errors 2024-08-13 10:41:06 -06:00
David Allen
dce823c6d8
Added URL sanitization for SMD host and moved auth from util 2024-08-12 13:04:52 -06:00
f7159c9b66
Fixed issue with collect requests and other minor changes 2024-08-11 14:25:21 -06:00
David Allen
8a2541717d
Added flag to show cache info with list command and other minor changes 2024-08-09 07:42:28 -06:00
David Allen
2c841906b2
Updated 'cmd' package 2024-08-07 10:58:03 -06:00
David Allen
b27e6b6a73
Renamed vars and switched to use zerolog 2024-07-30 14:02:12 -06:00
David Allen
d73575ab05
Fixed imports and removed unused query params 2024-07-24 10:24:12 -06:00
David Allen
f7b08da064
Added more API documentation 2024-07-23 16:18:21 -06:00
David Allen
c537e496da
Fixed issue with required param 2024-07-22 14:20:06 -06:00
David Allen
1ab5c8a7df
Added initial round of comments for API documentation 2024-07-18 18:18:03 -06:00
David Allen
796a67d5ab
Tidied up CLI flag names 2024-07-17 15:42:00 -06:00
David Allen
472735fb9d
Added an error catch for CollectAll in cmd 2024-05-16 15:41:07 -06:00
David J. Allen
f4540ea4ce
Changed db.path flag to cache 2024-05-10 14:54:34 -06:00
David J. Allen
ac86a12ce0
Made user and pass flags required together 2024-05-10 13:52:00 -06:00
David J. Allen
886a5d4d82
Fixed default output path for flag 2024-05-10 13:46:51 -06:00
David J. Allen
9663b677ba
Removed and updated flags 2024-05-10 10:09:37 -06:00
David J. Allen
b6d429f072
Changed the default storage location for scanning cache 2024-05-09 14:53:44 -06:00
David J. Allen
0403b2bcbc
Changed the wording of error messages slightly 2024-05-08 13:39:51 -06:00
David J. Allen
60770dadc0
Removed GET request in collect and minor changes 2024-05-08 12:48:02 -06:00
David J. Allen
e91460528b
Added access token to params passed to CollectAll func 2024-05-07 16:57:11 -06:00
David J. Allen
b873613939
Minor changes and fixes 2024-05-07 16:51:07 -06:00
David J. Allen
6bf9035d96
Fixed cert flags 2024-05-07 15:51:51 -06:00
David J. Allen
2b421e8af5
Merge branch 'main' into config-file 2024-05-07 14:57:34 -06:00
David J. Allen
b5c0d9ce2a
Changed cert flags and added cert for gofish 2024-05-06 14:01:29 -06:00
David J. Allen
09c5af44b9
Added checks for access token when running command 2024-03-15 17:43:25 -06:00
Alex Lovell-Troy
cccf0dfdf2 move to OpenCHAMI and update changelog 2023-11-03 09:47:57 -04:00
David J. Allen
955c9fb4bd Change import to use new repo 2023-10-31 07:55:03 -06:00
David J. Allen
2baae37f5f Initial implementation of config file 2023-10-19 17:08:36 -06:00
David J. Allen
8c4439ea81 Renamed functions in collect.go 2023-10-16 13:48:55 -06:00
David J. Allen
d5e8ed5e99 Set force-update to false by default 2023-10-12 14:03:26 -06:00
David J. Allen
d8bd169cb7 Added protocol flag 2023-10-05 12:55:58 -06:00
David J. Allen
54dde2dda6 Added ability to update endpoint when conflicting with existing + processor info
Signed-off-by: David J. Allen <allend@lanl.gov>
2023-09-28 14:46:21 -06:00
David J. Allen
5acccf9355 Added ability to store output of collect command 2023-09-19 13:57:47 -06:00
David Allen
4c45afce8d
Merge branch 'main' into alt-releaser 2023-09-15 08:48:18 -06:00
b3368e5264 Fixed formatting via gofmt
Signed-off-by: David J. Allen <davidallendj@gmail.com>
2023-09-15 08:32:41 -06:00
Alex Lovell-Troy
d649697859
Merge branch 'main' into alt-releaser 2023-09-14 17:11:18 -04:00
8faa570b0a Minor tweaks, changes, and fixes
Signed-off-by: David J. Allen <davidallendj@gmail.com>
2023-09-14 13:41:12 -06:00