Added examples of new format option

This commit is contained in:
Austin Marino 2019-10-10 16:32:24 -07:00 committed by GitHub
parent 93e10264fb
commit 4dfb6b9fae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,6 +15,7 @@ your library. For example, run this::
to print a JSON file containing information about your Beatles tracks.
Command-Line Options
--------------------
@ -38,7 +39,12 @@ The ``export`` command has these command-line options:
* ``--append``: Appends the data to the file instead of writing.
* ``--format`` or ``-f``: Specifies the format of the exported data. If not informed, JSON will be used.
* ``--format`` or ``-f``: Specifies the format the data will be exported as. If not informed, JSON will be used by default.
For example::
$ beet export -f csv beatles
$ beet export -f json beatles
$ beet export -f xml beatles
Configuration
-------------