Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

cdno init

Create a new vault: the folder tree, a default .cuaderno/config.toml (which declares the concept custom type), and starter daily.md and concept.md templates (every other built-in type uses an in-binary default until you eject one).

cdno init [OPTIONS] [PATH]

Arguments

ArgumentDescription
[PATH]Target directory. Defaults to the current working directory.

Options

Only the global options apply. init ignores --json.

Examples

# Create a vault in a new directory:
cdno init ~/notebook

# Initialise the current directory as a vault:
cdno init

It fails if the target already contains a .cuaderno/ directory (it won’t clobber an existing vault).

See also