Examples

Using a seed

Before Adding a Seed

.
# workspace
## dendron.yml
## vault

Running the add command

cd workspace
dendron seeds add dendron.hello

> dendron.hellohas been added to your workspace

Resulting workspace

.
└── workspace
    ├── dendron.yml
    ├── vault
    └── seeds
        └── dendron.hello
            └── seed.yml
                └── vault
  • dendron.yml
seeds: 
  dendron.hello:
vaults:
  - fsPath: vault
  - fsPath: vault
    seed: dendron.hello

Publishing a Seed

  1. Initialize a seed
mkdir hello && cd hello
dendron seed init 
  • file layout
.
# hello
## seed.yml
## README.md
## vault
### ...
  • seed.yml
name: hello
publisher: dendron
description: 
root: vault
author:
  name: 
  email:
  url:
license: Creative Commons
  1. Add some content
dendron note lookup --query "hello" 
echo "hello world" >> hello.md
  1. Fill out the metadata.
  • seed.yml
name: hello
publisher: dendron
description: Hello world seed
root: vault
author:
  name: Team Dendron
  email: team@dendron.so
  url: https://dendron.so
license: Creative Commons
  1. Publish
dendron seeds publish