We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f60371 commit 5b6398bCopy full SHA for 5b6398b
cli/core/list.go
@@ -50,7 +50,11 @@ func initListCommand() *cobra.Command {
50
func runListCommand(args []string, all bool, updatableOnly bool) {
51
inst := instance.CreateAndInit()
52
logrus.Info("Executing `arduino-cli core list`")
53
+ List(inst, all, updatableOnly)
54
+}
55
56
+// List print a list of installed platforms.
57
+func List(inst *rpc.Instance, all bool, updatableOnly bool) {
58
platforms, err := core.GetPlatforms(&rpc.PlatformListRequest{
59
Instance: inst,
60
UpdatableOnly: updatableOnly,
0 commit comments