summaryrefslogtreecommitdiff
path: root/docs/source/man/lesana-new.rst
blob: 0dfb624adbf1de2b4d04cdf4ffd71efbbd5be665 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
==========
lesana-new
==========

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.