package
0.0.6
Repository: https://github.com/jacoblai/arduino-cli.git
Documentation: pkg.go.dev

# Functions

AskForUserFields prompts the user to input the provided user fields.
CalculateFQBNAndPort calculate the FQBN and Port metadata based on parameters provided by the user.
CheckFlagsConflicts is a helper function useful to report errors when more than one conflicting flag is used.
CheckFlagsMandatory is a helper function useful to report errors when at least one flag is not used in a group of "required" flags.
GetConnectedBoards is an helper function useful to autocomplete.
GetInstallableCores is an helper function useful to autocomplete.
GetInstallableLibs is an helper function useful to autocomplete.
GetInstalledBoards is an helper function useful to autocomplete.
GetInstalledLibraries is an helper function useful to autocomplete.
GetInstalledProgrammers is an helper function useful to autocomplete.
GetInstalledProtocols is an helper function useful to autocomplete.
GetUninstallableCores is an helper function useful to autocomplete.
GetUninstallableLibraries is an helper function useful to autocomplete.
InitSketchPath returns an instance of paths.Path pointing to sketchPath.
ParseReference parses a string and returns a Reference object.
ParseReferences is a convenient wrapper that operates on a slice of strings and calls ParseReference for each of them.
WarnDeprecatedFiles warns the user that a type of sketch files are deprecated.

# Constants

ShowPropertiesDisabled means that the --show-properties flag has not been used.
ShowPropertiesExpanded means that the --show-properties flag has been used with the value "expanded".
ShowPropertiesUnexpanded means that the --show-properties flag has been used without a value or with the value "unexpanded".

# Structs

DiscoveryTimeout is the timeout given to discoveries to detect ports.
Fqbn contains the fqbn flag data.
Port contains the port arguments result.
PostInstallFlags contains flags data used by the core install and the upgrade command This is useful so all flags used by commands that need this information are consistent with each other.
Profile contains the profile flag data.
Programmer contains the programmer flag data.
Reference represents a reference item (core or library) passed to the CLI interface.
ShowProperties represents the --show-properties flag.

# Type aliases

ShowPropertiesMode represents the possible values of the --show-properties flag.