Skip to content

sklad init

Initialize a knowledge-base project directory (git repo and .gitignore). Idempotent
Usage: sklad init [OPTIONS]
Options:
--path <PATH> KB directory to initialize. Defaults to the configured `kb_path`
--root <DIR> The vault root. Default: $KB_ROOT, else the nearest ancestor of the current directory that holds `.kb/` or `.git` [alias: --vault]
--json Print JSON instead of text
-h, --help Print help