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
seeds:
dendron.hello:
vaults:
- fsPath: vault
- fsPath: vault
seed: dendron.hello
Publishing a Seed
- Initialize a seed
mkdir hello && cd hello
dendron seed init
.
# hello
## seed.yml
## README.md
## vault
### ...
name: hello
publisher: dendron
description:
root: vault
author:
name:
email:
url:
license: Creative Commons
- Add some content
dendron note lookup --query "hello"
echo "hello world" >> hello.md
- Fill out the metadata.
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
- Publish
dendron seeds publish