Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
arduino-cli
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Operations
Operations
Metrics
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
arduino-cli
Commits
e337eceb
Commit
e337eceb
authored
Aug 26, 2018
by
Richard Metzler
Committed by
Cristian Maglie
Aug 27, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use arduino-cli in examples
parent
802b900f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
README.md
README.md
+1
-2
commands/core/install.go
commands/core/install.go
+4
-3
No files found.
README.md
View file @
e337eceb
...
...
@@ -253,7 +253,7 @@ Usage:
arduino-cli core
[
command
]
Examples:
arduino core update-index
# to update the package index file.
arduino
-cli
core update-index
# to update the package index file.
Available Commands:
download Downloads one or more cores and corresponding tool dependencies.
...
...
@@ -272,4 +272,3 @@ Global Flags:
Use
"arduino-cli core [command] --help"
for
more information about a command.
```
commands/core/install.go
View file @
e337eceb
...
...
@@ -33,9 +33,10 @@ func initInstallCommand() *cobra.Command {
Use
:
"install PACKAGER:ARCH[@VERSION] ..."
,
Short
:
"Installs one or more cores and corresponding tool dependencies."
,
Long
:
"Installs one or more cores and corresponding tool dependencies."
,
Example
:
""
+
"arduino core install arduino:samd # to download the latest version of arduino SAMD core."
+
"arduino core install arduino:samd=1.6.9 # for a specific version (in this case 1.6.9)."
,
Example
:
" # download the latest version of arduino SAMD core.
\n
"
+
" "
+
commands
.
AppName
+
" core install arduino:samd
\n\n
"
+
" # download a specific version (in this case 1.6.9).
\n
"
+
" "
+
commands
.
AppName
+
" core install arduino:samd=1.6.9"
,
Args
:
cobra
.
MinimumNArgs
(
1
),
Run
:
runInstallCommand
,
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment