Scroll to navigation

LESANA-INIT(1) lesana LESANA-INIT(1)

NAME

lesana-init - initialize a lesana collection

SYNOPSIS

lesana init [–help] [–collection <collection>] [–no-git]

DESCRIPTION

lesana init initializes a new lesana collection.

It will create the directory (if it does not exist) and, unless --no-git is specified it will initialize it as a git repository and create a .gitignore file with some relevant contents.

It will then create a skeleton settings.yaml file and open it in an editor to start configuring the collection.

When leaving the editor, again unless --no-git is used, it will add this file to the git staging area, but not commit it.

OPTIONS

Prints an help message and exits.
The directory where the collection will be initialized. Default is .
Do not use git in the current collection.

AUTHOR

valhalla@trueelena.org

COPYRIGHT

2021, Elena Grandi

February 15, 2021 0.8