Commit 8f73b784 authored by HowJMay's avatar HowJMay Committed by Massimiliano Pippi

List cores with core search (#405)

Mirror the same function as `lib search` does.
Use `arduino-cli core search` can list all the cores.
parent 88f5454f
......@@ -40,7 +40,7 @@ func initSearchCommand() *cobra.Command {
Short: "Search for a core in the package index.",
Long: "Search for a core in the package index using the specified keywords.",
Example: " " + os.Args[0] + " core search MKRZero -v",
Args: cobra.MinimumNArgs(1),
Args: cobra.ArbitraryArgs,
Run: runSearchCommand,
}
return searchCommand
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment