Commit graph

29 commits

Author SHA1 Message Date
829f97d065
fix: issue with list double prints 2025-07-10 21:47:03 -06:00
62a7c436a3
chore: updated list cmd 2025-07-10 21:42:23 -06:00
ed7d87cd3a
fix: issue with list double prints 2025-07-10 20:56:06 -06:00
e85fd21922
refactor: updated cache editor implementation 2025-07-10 20:56:05 -06:00
0117f0355a
chore: made changes to build and fix issues 2025-07-10 20:56:04 -06:00
9970e49d94
chore: updated list cmd 2025-07-10 20:56:04 -06:00
12969adf25
Add support for storage command and crawler output
Partially addresses issue #3 by adding a simple `magellan list devices` command to list storage devices. To close the issue, this PR still requires including storage device information in the `crawler`'s output.

Reviewed-on: towk/magellan-ng#5
2025-07-10 20:56:02 -06:00
fb3a936224
updated all references 2025-07-10 20:54:25 -06:00
David Allen
04e1fb26c9
Split the collect Command For Customization (#93)
* feat: initial implementation of command split

* feat: update collect and new send cmd

* chore: cleanup unused code

* chore: refactored getting username

* chore: more refactoring and cleanup

* feat: update send cmd implementation

* chore: changed/updated example config

* chore: made cmd more consistent and added formatting

* refactor: removed --host flag from scan

* chore: cleaned up and fixed issue with client

* chore: cleaned up CLI flags in collect cmd

* feat: updated crawl to include managers and output YAML optionally

* refactor: updated and improved send implementation

* refactor: minor improvements

* refactor: added util func to check for empty slices

* fix: issue with reading from stdin

* refactor: added scheme trimming function for URIs

* refactor: changed host arg back to positional

* refactor: removed unused vars and added --output-dir flag

* fix: make -f for secrets persistent

* refactor: removed --host flag and request in collect

* refactor: changed --output flag to --output-file

* fix: updated flags for collect

* fix: typo in crawler error

* fix: dir being created when outputDir not set

* fix: reading stdin and data args

* fix: made output using -v and -o consistent

* readme: added info about command split

* updated changelog adding missing version entries

* chore: updated example to use host as positional arg

* fix: issue with reading --data arg

* fix: remove unused import from collect pkg

Signed-off-by: Devon Bautista <devonb@lanl.gov>

---------

Signed-off-by: David Allen <16520934+davidallendj@users.noreply.github.com>
Signed-off-by: Devon Bautista <devonb@lanl.gov>
Co-authored-by: Devon Bautista <devonb@lanl.gov>
2025-05-29 15:15:46 -04:00
c950532e88
refactor: improvements to CLI and update pkg 2025-03-28 13:12:38 -06:00
d428dbfd27
refactor: added exact number of args to list cmd 2025-03-20 08:58:06 -06:00
David Allen
fd54f367b8
cmd: exported commands for external use 2025-02-04 13:51:57 -07:00
David Allen
81ec43a923
Minor changes to fix lint errors 2024-08-13 10:41:06 -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
3d6daa757a
Fixed error message format for list command 2024-08-07 19:20:11 -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
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
Chris Harris
6aeffc92f1
Add timestamp to scan results cache 2024-06-28 12:16:45 -04:00
David J. Allen
f4540ea4ce
Changed db.path flag to cache 2024-05-10 14:54:34 -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
0403b2bcbc
Changed the wording of error messages slightly 2024-05-08 13:39:51 -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
Alex Lovell-Troy
3351de48a6 inital release refactor 2023-09-14 15:10:08 -04:00
David J. Allen
2edb9fdbb0 Refactored flags and added xnames to add endpoint to hms-smd 2023-09-05 14:26:53 -06:00
David J. Allen
118c12fa14 Minor changes and fixes 2023-08-30 14:43:13 -06:00
David J. Allen
c202469c50 Reorganized adding cobra commands 2023-08-29 14:36:57 -06:00