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
82b4ea1e
Commit
82b4ea1e
authored
Aug 13, 2018
by
Cristian Maglie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed description for list command
parent
122bca5b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
9 deletions
+6
-9
commands/lib/list.go
commands/lib/list.go
+6
-9
No files found.
commands/lib/list.go
View file @
82b4ea1e
...
...
@@ -30,15 +30,12 @@ import (
func
initListCommand
()
*
cobra
.
Command
{
listCommand
:=
&
cobra
.
Command
{
Use
:
"list"
,
Short
:
"Shows a list of all installed libraries."
,
Long
:
"Shows a list of all installed libraries.
\n
"
+
"Can be used with -v (or --verbose) flag (up to 2 times) to have longer output."
,
Example
:
""
+
" "
+
commands
.
AppName
+
" lib list # to show all installed library names.
\n
"
+
" "
+
commands
.
AppName
+
" lib list -v # to show more details."
,
Args
:
cobra
.
NoArgs
,
Run
:
runListCommand
,
Use
:
"list"
,
Short
:
"Shows a list of all installed libraries."
,
Long
:
"Shows a list of all installed libraries."
,
Example
:
" "
+
commands
.
AppName
+
" lib list"
,
Args
:
cobra
.
NoArgs
,
Run
:
runListCommand
,
}
listCommand
.
Flags
()
.
BoolVar
(
&
listFlags
.
all
,
"all"
,
false
,
"Include built-in libraries (from platforms and IDE) in listing."
)
listCommand
.
Flags
()
.
BoolVar
(
&
listFlags
.
updatable
,
"updatable"
,
false
,
"List updatable libraries."
)
...
...
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