aboutsummaryrefslogtreecommitdiff
path: root/docs/man/lesana-new.rst
blob: 4c7a10d9f5a03f468fe35e695c5c14e02e807ffd (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
31
32
33
34
35
36
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.