magellan/cmd
Devon Bautista e62a38183f
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-26 17:46:50 -06:00
..
cache.go updated references in cmd/cache.go 2024-11-03 21:25:52 -07:00
collect.go chore: updated error/warn messages to be more informative 2025-04-26 17:46:50 -06:00
crawl.go feat(crawl): improved logs; add partial credential overriding 2025-04-26 17:46:50 -06:00
list.go refactor: improvements to CLI and update pkg 2025-04-26 17:46:49 -06:00
login.go updated all references 2024-11-03 19:53:48 -07:00
root.go refactor: improvements to CLI and update pkg 2025-04-26 17:46:49 -06:00
scan.go refactor: improvements to CLI and update pkg 2025-04-26 17:46:49 -06:00
secrets.go chore: run gofmt 2025-04-26 17:46:50 -06:00
update.go refactor: improvements to CLI and update pkg 2025-04-26 17:46:49 -06:00
version.go refactor: exported more cmd variables 2024-12-11 14:13:51 -07:00