aboutsummaryrefslogtreecommitdiff
path: root/docs/man/lesana-new.rst
diff options
context:
space:
mode:
authorElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2019-09-29 18:11:43 +0200
committerElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2019-09-29 18:11:43 +0200
commitda130078b4a654d8d17a2e606be4447cfdad44eb (patch)
tree1c3e7217cfc1d22269d1d1b0370f39c6b53a37eb /docs/man/lesana-new.rst
parent25890ee36217c4c9b152cf3c38603725f65edfac (diff)
Additional manpages
Diffstat (limited to 'docs/man/lesana-new.rst')
-rw-r--r--docs/man/lesana-new.rst37
1 files changed, 37 insertions, 0 deletions
diff --git a/docs/man/lesana-new.rst b/docs/man/lesana-new.rst
new file mode 100644
index 0000000..4c7a10d
--- /dev/null
+++ b/docs/man/lesana-new.rst
@@ -0,0 +1,37 @@
+==========
+lesana-new
+==========
+
+-------------------------
+create a new lesana entry
+-------------------------
+
+:Author: valhalla@trueelena.org
+:Manual section: 1
+
+SYNOPSIS
+========
+
+lesana new [--help] [--collection <collection>] [--no-git]
+
+DESCRIPTION
+===========
+
+Lesana new creates a new lesana entry.
+
+It will create an empty entry and open an editor so that it can be
+filled.
+
+If the collection is configured to use git, after the editor has been
+closed, it will add the file to the git staging area, unless
+``--no-git`` is given.
+
+OPTIONS
+=======
+
+-h, --help
+ Prints an help message and exits.
+--collection COLLECTION, -c COLLECTION
+ The collection to work on. Default is ``.``
+--no-git
+ Don't add the new entry to git.