Update docs

Add reference on how to show package files
This commit is contained in:
Ettore Di Giacinto 2022-09-14 17:02:01 +02:00 committed by GitHub
parent 556e46daeb
commit f5115e6ce3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -102,6 +102,24 @@ Note: the regex argument is optional
$ luet search --file <file_pattern>
```
## Show package files
Files are displayed when visualizing output of search in json or in yaml, for instance, consider the following example:
```bash
$ luet search -o yaml system/luet-0.32.5
packages:
- category: system
files:
- usr/bin/luet
hidden: false
installed: true
name: luet
repository: luet
target: ""
version: 0.32.5
```
### Search output
Search can return results in the terminal in different ways: as terminal output, as json or as yaml.
@ -135,4 +153,4 @@ $ luet search --table <regex>
Luet output is verbose by default and colourful, however will try to adapt to the terminal, based on which environment is executed (as a service, in the terminal, etc.)
You can quiet `luet` output with the `--quiet` flag or `-q` to have a more compact output in all the commands.
You can quiet `luet` output with the `--quiet` flag or `-q` to have a more compact output in all the commands.