Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
55742ded11 |
@@ -484,6 +484,15 @@ levels. From the quietest, the levels are fatal, error, warning, info, debug and
|
|||||||
trace. A run prints the lines at its own level and at every quieter one. The
|
trace. A run prints the lines at its own level and at every quieter one. The
|
||||||
level is info unless `-v`, `-vv` or `-q` says otherwise.
|
level is info unless `-v`, `-vv` or `-q` says otherwise.
|
||||||
|
|
||||||
|
Two things on stderr are not log lines. A command line quak cannot parse, such
|
||||||
|
as a missing argument, an unknown option or `-q` with `-v`, is refused with an
|
||||||
|
`error: …` message, and quak exits 1. `-q` does not hide the message. `quak`
|
||||||
|
with no command prints the usage on stderr and exits 1.
|
||||||
|
|
||||||
|
`yarn quak` prints yarn's own lines on stdout as well. To pipe a command's
|
||||||
|
output, run `yarn --silent quak files --json` or
|
||||||
|
`node dist/bin/quak.js files --json` instead.
|
||||||
|
|
||||||
- Fatal: why a command exits non-zero. A command that runs and exits non-zero
|
- Fatal: why a command exits non-zero. A command that runs and exits non-zero
|
||||||
logs at least one fatal line. A command that exits 1 because files or albums
|
logs at least one fatal line. A command that exits 1 because files or albums
|
||||||
failed logs it last, saying how many failed and where to look.
|
failed logs it last, saying how many failed and where to look.
|
||||||
@@ -508,15 +517,6 @@ level is info unless `-v`, `-vv` or `-q` says otherwise.
|
|||||||
one that exits non-zero prints only its fatal lines. The prompts of `login` are
|
one that exits non-zero prints only its fatal lines. The prompts of `login` are
|
||||||
not log lines, and `-q` leaves them alone.
|
not log lines, and `-q` leaves them alone.
|
||||||
|
|
||||||
Two things on stderr are not log lines. A command line that quak cannot parse,
|
|
||||||
such as a missing argument, an unknown option or `-q` with `-v`, is refused with
|
|
||||||
an `error: …` message, and quak exits 1. `-q` does not hide the message. `quak`
|
|
||||||
with no command prints the usage on stderr and exits 1.
|
|
||||||
|
|
||||||
`yarn quak` prints yarn's own lines on stdout as well. To pipe a command's
|
|
||||||
output, run `yarn --silent quak files --json` or
|
|
||||||
`node dist/bin/quak.js files --json` instead.
|
|
||||||
|
|
||||||
With `--json`, a command's JSON on stdout takes the place of its summary on
|
With `--json`, a command's JSON on stdout takes the place of its summary on
|
||||||
stderr. For `backup`, that is the `--- Backup complete ---` line, the counts and
|
stderr. For `backup`, that is the `--- Backup complete ---` line, the counts and
|
||||||
the `Failed files:` list. For `list-missing-thumbnails`, it is
|
the `Failed files:` list. For `list-missing-thumbnails`, it is
|
||||||
@@ -962,9 +962,9 @@ of the same name apart.
|
|||||||
`files`. Each `<fileID>.json` holds the fields a backup's JSON beside an
|
`files`. Each `<fileID>.json` holds the fields a backup's JSON beside an
|
||||||
original holds, with these differences:
|
original holds, with these differences:
|
||||||
|
|
||||||
- `imageMetadata` is written only with `--exif`. The original of every file,
|
- `imageMetadata` is written only with `--exif`. The original of every file is
|
||||||
videos included, is then downloaded and read for its EXIF, XMP and JPEG
|
then downloaded, videos included, and read as a backup reads it (see "The JSON
|
||||||
dimensions.
|
beside each original").
|
||||||
- A file whose original holds no image metadata gets no `imageMetadata` field.
|
- A file whose original holds no image metadata gets no `imageMetadata` field.
|
||||||
- An original that cannot be downloaded or read gives `imageMetadataError`
|
- An original that cannot be downloaded or read gives `imageMetadataError`
|
||||||
instead.
|
instead.
|
||||||
|
|||||||
Reference in new issue
Block a user