mirror of
https://github.com/davidallendj/magellan.git
synced 2025-12-20 03:27:03 -07:00
Update crawl command to improve URI handling and provide clearer instructions
This commit is contained in:
parent
afe84f6129
commit
09eb48a241
1 changed files with 5 additions and 1 deletions
|
|
@ -12,7 +12,11 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
var crawlCmd = &cobra.Command{
|
var crawlCmd = &cobra.Command{
|
||||||
Use: "crawl [uri] e.g. magellan crawl https://bmc.example.com",
|
Use: "crawl [uri]",
|
||||||
|
Long: "Crawl a single BMC for inventory information\n" +
|
||||||
|
"\n" +
|
||||||
|
"Example:\n" +
|
||||||
|
" magellan crawl https://bmc.example.com",
|
||||||
Short: "Crawl a single BMC for inventory information",
|
Short: "Crawl a single BMC for inventory information",
|
||||||
Args: func(cmd *cobra.Command, args []string) error {
|
Args: func(cmd *cobra.Command, args []string) error {
|
||||||
// Validate that the only argument is a valid URI
|
// Validate that the only argument is a valid URI
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue