refactor: updated description/example and added 'secrets-file' flag to cmd

This commit is contained in:
David Allen 2025-03-17 10:37:04 -06:00
parent 5ecc051fef
commit f18d279468
Signed by: towk
GPG key ID: 793B2924A49B3A3F
4 changed files with 210 additions and 17 deletions

View file

@ -18,8 +18,8 @@ import (
var CrawlCmd = &cobra.Command{
Use: "crawl [uri]",
Short: "Crawl a single BMC for inventory information",
Long: "Crawl a single BMC for inventory information. This command does NOT store information\n" +
"about the scan into cache after completion. To do so, use the 'collect' command instead\n\n" +
Long: "Crawl a single BMC for inventory information with URI. This command does NOT scan subnets nor store scan information\n" +
"in cache after completion. To do so, use the 'collect' command instead\n\n" +
"Examples:\n" +
" magellan crawl https://bmc.example.com\n" +
" magellan crawl https://bmc.example.com -i -u username -p password",