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 committed by David Allen
parent f9059c50a1
commit 842e864384
Signed by: towk
GPG key ID: 0430CDBE22619155
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",