Skip to content

Commit 3f60371

Browse files
committed
Made 'lib list' procedure public
1 parent 0d0a2f8 commit 3f60371

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cli/lib/list.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,11 @@ not listed, they can be listed by adding the --all flag.`),
5858
func runListCommand(args []string, all bool, updatable bool) {
5959
instance := instance.CreateAndInit()
6060
logrus.Info("Executing `arduino-cli lib list`")
61+
List(instance, args, all, updatable)
62+
}
6163

64+
// List lists all the installed libraries.
65+
func List(instance *rpc.Instance, args []string, all bool, updatable bool) {
6266
name := ""
6367
if len(args) > 0 {
6468
name = args[0]

0 commit comments

Comments
 (0)