aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDaniel Schadt <kingdread@gmx.de>2026-05-05 23:57:31 +0200
committerDaniel Schadt <kingdread@gmx.de>2026-05-05 23:57:31 +0200
commit66a245a9a56421a7d7eabf2e529808bc9e4d205b (patch)
treef33621fd4059c19e91094624b20605119b7d55b6 /doc
parentec14aee4ac369260506e167c4c35862f6827d381 (diff)
downloadfietsboek-66a245a9a56421a7d7eabf2e529808bc9e4d205b.tar.gz
fietsboek-66a245a9a56421a7d7eabf2e529808bc9e4d205b.tar.bz2
fietsboek-66a245a9a56421a7d7eabf2e529808bc9e4d205b.zip
add manpage entry for fietsctl track add
Diffstat (limited to 'doc')
-rw-r--r--doc/man/fietsctl.rst20
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/man/fietsctl.rst b/doc/man/fietsctl.rst
index 1d30b20..8a91408 100644
--- a/doc/man/fietsctl.rst
+++ b/doc/man/fietsctl.rst
@@ -186,6 +186,26 @@ For each track, the following information is shown:
* The track's owner (both name and email address)
* The track's title.
+ADDING A TRACK
+##############
+
+.. code-block:: text
+
+ fietsctl track add [-c CONFIG] [-i/--id ID] [-e/--email] [--visibility PRIVATE|FRIENDS|FRIENDS_TAGGED|LOGGED_IN|PUBLIC] [--track-type ORGANIC|SYNTHETIC] FILENAME...
+
+Adds a track to the system. You specify the owner via the ``--id`` or
+``--email`` options, similar to the ``user modify`` command.
+
+One or multiple ``FILENAME`` might be given. Any supported input format may be
+used.
+
+The titles and dates are attempted to be read from the files. Other metadata
+(tags, images, ...) is left empty. The ``--visibility`` and ``--track-type``
+options can be used to set the visibility and type of the added tracks.
+
+For each file read, the resulting ID in the database is printed. If an error
+occurs for one file, the error is shown and the next track is read.
+
REMOVING A TRACK
################