mirror of
https://github.com/davidallendj/magellan.git
synced 2025-12-20 03:27:03 -07:00
Renamed vars and switched to use zerolog
This commit is contained in:
parent
606a7b47cc
commit
b27e6b6a73
7 changed files with 68 additions and 103 deletions
|
|
@ -19,8 +19,9 @@ var crawlCmd = &cobra.Command{
|
|||
Short: "Crawl a single BMC for inventory information",
|
||||
Long: "Crawl a single BMC for inventory information\n" +
|
||||
"\n" +
|
||||
"Example:\n" +
|
||||
" magellan crawl https://bmc.example.com",
|
||||
"Examples:\n" +
|
||||
" magellan crawl https://bmc.example.com\n" +
|
||||
" magellan crawl https://bmc.example.com -i -u username -p password",
|
||||
Args: func(cmd *cobra.Command, args []string) error {
|
||||
// Validate that the only argument is a valid URI
|
||||
if err := cobra.ExactArgs(1)(cmd, args); err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue