magellan/cmd
Devon Bautista 88bd791718
feat(crawl): improved logs; add partial credential overriding
The order of precedence is:

1. --username/--password
2. URI-specific credentials in store
3. Default credentials in store

The "partial" overriding means that specifying only one of --username or
--password will cause the crawl command to fetch the specific node
credentials for the BMC (falling back to the default) but override the
result with the value of the passed flag.

For instance,

magellan crawl <uri> --username foo

will fetch the username and password for <uri> in the secret store, but
override the username being sent to 'foo'. This does not change the
username stored in the secret store.
2025-04-14 16:37:34 -06:00
..
collect.go chore: updated error/warn messages to be more informative 2025-04-14 14:11:00 -06:00
crawl.go feat(crawl): improved logs; add partial credential overriding 2025-04-14 16:37:34 -06:00
list.go refactor: improvements to CLI and update pkg 2025-03-28 13:12:38 -06:00
login.go Minor changes to fix lint errors 2024-08-13 10:41:06 -06:00
root.go refactor: improvements to CLI and update pkg 2025-03-28 13:12:38 -06:00
scan.go refactor: improvements to CLI and update pkg 2025-03-28 13:12:38 -06:00
secrets.go chore: run gofmt 2025-04-14 16:37:20 -06:00
update.go refactor: improvements to CLI and update pkg 2025-03-28 13:12:38 -06:00
version.go Refactor how versioning information is indicated in the build and in the source. 2024-10-30 12:36:07 -06:00