Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

conan list args #3927

Merged
merged 1 commit into from
Dec 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion reference/commands/list.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Listing recipe references
:caption: *list all references on local cache*

# Make sure to quote the argument
$ conan list "*"
$ conan list
Local Cache
hello
hello/2.26.1@mycompany/testing
Expand All @@ -51,6 +51,9 @@ Listing recipe references
zlib
zlib/1.2.11

This command is equivalent to ``$ conan list "*"`` (make sure to quote the argument), if no argument
is provided Conan will list all packages.


.. code-block:: text
:caption: *list all versions of a reference*
Expand Down
12 changes: 6 additions & 6 deletions tutorial/versioning/versions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ That we can create ``pkg/1.0`` package with:
pkg/1.0 .
...

$ conan list "*"
$ conan list "pkg/*"
Local Cache
pkg
pkg/1.0
Expand All @@ -59,7 +59,7 @@ create the new ``pkg/1.1`` version:
pkg/1.1 .
...

$ conan list "*"
$ conan list "pkg/*"
Local Cache
pkg
pkg/1.0
Expand All @@ -85,7 +85,7 @@ remove the ``version`` attribute from the recipe and do:
pkg/1.2 .
...

$ conan list "*"
$ conan list "pkg/*"
Local Cache
pkg
pkg/1.0
Expand Down Expand Up @@ -121,7 +121,7 @@ Then, this can be done:
pkg/1.3 .
...

$ conan list "*"
$ conan list "pkg/*"
Local Cache
pkg
pkg/1.0
Expand All @@ -148,7 +148,7 @@ command line argument is not provided with the following syntax:
pkg/1.4 .
...

$ conan list "*"
$ conan list "pkg/*"
Local Cache
pkg
pkg/1.0
Expand Down Expand Up @@ -186,7 +186,7 @@ Likewise, it is possible to obtain the version from a Git tag:
pkg/1.5 .
...

$ conan list "*"
$ conan list "pkg/*"
Local Cache
pkg
pkg/1.0
Expand Down