Movatterモバイル変換


[0]ホーム

URL:


lib

package
v1.3.1Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 27, 2025 License:GPL-3.0Imports:21Imported by:0

Details

Repository

github.com/arduino/arduino-cli

Links

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

funcGetList

func GetList(ctxcontext.Context, srvrpc.ArduinoCoreServiceServer, instance *rpc.Instance, args []string, allbool, updatablebool) []*rpc.InstalledLibrary

GetList returns a list of installed libraries.

funcList

func List(ctxcontext.Context, srvrpc.ArduinoCoreServiceServer, instance *rpc.Instance, args []string, allbool, updatablebool)

List gets and prints a list of installed libraries.

funcNewCommand

func NewCommand(srvrpc.ArduinoCoreServiceServer, defaultSettings *rpc.Configuration) *cobra.Command

NewCommand created a new `lib` command

funcUpdateIndex

UpdateIndex updates the index of libraries.

funcUpgrade

func Upgrade(ctxcontext.Context, srvrpc.ArduinoCoreServiceServer, instance *rpc.Instance, libraries []string)

Upgrade upgrades the specified libraries

Types

typeLibraryReferenceArg

type LibraryReferenceArg struct {NamestringVersionstring}

LibraryReferenceArg is a command line argument that reference a library.

funcParseLibraryReferenceArg

func ParseLibraryReferenceArg(argstring) (*LibraryReferenceArg,error)

ParseLibraryReferenceArg parse a command line argument that reference alibrary in the form "LibName@Version" or just "LibName".

funcParseLibraryReferenceArgAndAdjustCase

func ParseLibraryReferenceArgAndAdjustCase(ctxcontext.Context, srvrpc.ArduinoCoreServiceServer, instance *rpc.Instance, argstring) (*LibraryReferenceArg,error)

ParseLibraryReferenceArgAndAdjustCase parse a command line argument that reference alibrary and possibly adjust the case of the name to match a library in the index

funcParseLibraryReferenceArgs

func ParseLibraryReferenceArgs(args []string) ([]*LibraryReferenceArg,error)

ParseLibraryReferenceArgs is a convenient wrapper that operates on a slice of strings andcalls ParseLibraryReferenceArg for each of them. It returns at the first invalid argument.

funcParseLibraryReferenceArgsAndAdjustCase

func ParseLibraryReferenceArgsAndAdjustCase(ctxcontext.Context, srvrpc.ArduinoCoreServiceServer, instance *rpc.Instance, args []string) ([]*LibraryReferenceArg,error)

ParseLibraryReferenceArgsAndAdjustCase is a convenient wrapper that operates on a slice ofstrings and calls ParseLibraryReferenceArgAndAdjustCase for each of them. It returns at the first invalid argument.

func (*LibraryReferenceArg)String

func (r *LibraryReferenceArg) String()string

Source Files

View all Source files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp