Commit graph

96 commits

Author SHA1 Message Date
David Allen
b4efe756b0
Updated version command and main to handle building with version info 2024-08-28 13:19:21 -06:00
David Allen
c8297534cc
Added version command and corresponding implementation 2024-08-28 12:34:49 -06:00
David Allen
5b1e3e732e
Changed firmware.* back to firmware-* 2024-08-14 14:34:16 -06:00
David Allen
4597f63d12
Fixed issue with host string and added internal url package 2024-08-14 10:57:30 -06:00
David Allen
42dbfeb4f9
Fixed lint errors 2024-08-13 17:45:08 -06:00
David Allen
bb49129d31
Changed showing target host to use debug instead of verbose flag 2024-08-13 16:48:34 -06:00
David Allen
7285492815
Fixed root persistent flags not binding correctly 2024-08-13 14:44:11 -06:00
David Allen
809aa91ec6
Changed transfer-protocol flag to scheme to match other commands 2024-08-13 14:11:14 -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
5a2356d7c2
Fixed crawl command help string 2024-08-12 16:35:58 -06:00
David Allen
3287d76588
Separated auth from util and fixed help strings 2024-08-12 13:05:28 -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
51e24e2edd
Changed how arguments are passed to update command 2024-08-11 14:21:56 -06:00
fc6afc8559
Minor change 2024-08-09 17:35:24 -06:00
24fba89a98
Reformatted scan help message 2024-08-09 17:11:37 -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
46fc35d4ad
Removed extra print statement 2024-08-08 12:23:10 -06:00
4cc3f7f7ac
Changed order of adding default ports to add host correctly 2024-08-07 19:57:37 -06:00
3d6daa757a
Fixed error message format for list command 2024-08-07 19:20:11 -06:00
David Allen
dd829cd10e
Fixed '--subnet' flag not adding hosts to scan 2024-08-07 13:15:16 -06:00
David Allen
2c841906b2
Updated 'cmd' package 2024-08-07 10:58:03 -06:00
David Allen
1ea779e802
Changed short help message for root command 2024-07-30 14:23:53 -06:00
David Allen
b27e6b6a73
Renamed vars and switched to use zerolog 2024-07-30 14:02:12 -06:00
David Allen
fe3c339195
Corrected the username/password flag names 2024-07-24 10:34:28 -06:00
David Allen
d73575ab05
Fixed imports and removed unused query params 2024-07-24 10:24:12 -06:00
David Allen
f498d07aa2
Fixed small issue with command string 2024-07-24 10:22:48 -06:00
David Allen
f7b08da064
Added more API documentation 2024-07-23 16:18:21 -06:00
David Allen
eba9dfa1e7
Added more documentation and changed param names 2024-07-22 14:22:02 -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
396cbae31e
Merge pull request #37 from OpenCHAMI/36-running-the-crawl-subcommand-without-arguments-causes-a-crash
fix #36 and provide better error handling
2024-07-02 15:15:13 -06:00
Alex Lovell-Troy
09eb48a241
Update crawl command to improve URI handling and provide clearer instructions 2024-07-02 16:55:17 -04:00
Alex Lovell-Troy
afe84f6129
chore: Clean up URI handling in crawl command 2024-07-02 16:37:39 -04:00
Alex Lovell-Troy
eccd9adb41
Improve crawl instruction and log Redfish Version 2024-07-02 16:25:28 -04:00
Alex Lovell-Troy
fdc574f5f2
Improved Error handling without panics 2024-07-01 13:53:32 -04:00
Alex Lovell-Troy
3386690f17
Add uri positional argument and remove uri flag 2024-07-01 10:59:42 -04:00
Chris Harris
6aeffc92f1
Add timestamp to scan results cache 2024-06-28 12:16:45 -04:00
Alex Lovell-Troy
a7d5b0ebbb
Add standalone command for querying a single BMC and outputting inventory json 2024-06-27 08:56:45 +02:00
David Allen
472735fb9d
Added an error catch for CollectAll in cmd 2024-05-16 15:41:07 -06:00
David Allen
66bf6e0557
Fixed viper defaults for certs 2024-05-16 10:36:53 -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
b3ba75ea9a
Added format flag to convery output to JSON and slighly changed scanning logic 2024-05-10 13:41:08 -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
e93f49eb82
Added more output for debugging 2024-05-09 13:18:38 -06:00