kevins8
10/10/2021, 8:21 PMkevins8
10/10/2021, 8:24 PMeroc
10/10/2021, 10:28 PMversion: 1
schemas:
# this will match "cli.*" notes
- id: cli
# human readable description of hierarchy
desc: command line interface reference
# add this to the domain of your schema hierarchy
parent: root
# when a schema is a namespace, it can have arbitrary children. equivalent to cli.* glob pattern
namespace: true
children:
- cmd
- env
# will match cli.*.env
- id: env
desc: cli specific env variables
# will match cli.*.cmd.*
- id: cmd
desc: subcommands
namespace: true
template:
id: cli.template
type: note
And here's `cli.template.md`:
---
id: NHl62Y6Qv5LScgWfV0DFv
title: Template
desc: ''
updated: 1633904323320
created: 1633904323320
---
# Heading 1
## Heading 2
When I enter Ctrl+L, I create a new note called cli.cmd.cp. The new note is created, but the template isn't applied. Is this a bug, or am I doing something wrong?eroc
10/10/2021, 10:32 PMtemplate key from the child to the parent and create a note called cli.foo, the template is applied.SeriousBug
10/10/2021, 10:50 PMnamespace: true from cli and see if that works. Namespace means you will be creating new notes as a child of this, so the schema is expecting cli.foo or cli.foo.cmd.bar I think.SeriousBug
10/10/2021, 10:50 PMcli.cmd.fooeroc
10/10/2021, 11:19 PMeroc
10/11/2021, 2:42 AMnamespace to false and removing it altogether. I'm going to experiment some more.eroc
10/11/2021, 2:51 AMcli.template.md and cli.cmd.template.md. Here's my schema:
version: 1
schemas:
- id: cli
desc: command line interface reference
parent: root
children:
- cmd
template:
id: cli.template
type: note
- id: cmd
desc: subcommands
template:
id: cli.cmd.template
type: noteeroc
10/11/2021, 2:52 AMcli.foo or cli.cmd.foo. I would have expected cli.template to be used on the first and cli.cmd.template to be used on the second.eroc
10/11/2021, 3:12 AMnamespace: true back to both the cli and cmd IDs. I think I was misunderstanding what the namespace key was for. I think I still am, to be fair. I tried creating cli.foo.cmd and that pulled in the cli.cmd.template template. It's not what I was expecting to happen, however. I would have expected cli.cmd.foo to get the template applied. Creating a cli.foo file still didn't pull in the template. I must be missing something.Nirvana
10/11/2021, 5:12 AMNirvana
10/11/2021, 5:14 AMcodeluggage
10/11/2021, 5:20 AMSeriousBug
10/11/2021, 5:36 AMkevins8
10/11/2021, 5:39 AMCorte
10/11/2021, 8:10 AMSeriousBug
10/11/2021, 8:14 AMcodeluggage
10/11/2021, 12:34 PMYYYY-MM-DD HH:mm format giving [2021-10-11 20:33]codeluggage
10/11/2021, 12:34 PMSeriousBug
10/11/2021, 12:55 PMSeriousBug
10/11/2021, 12:55 PMdoctorboy
10/11/2021, 5:18 PMkevins8
10/11/2021, 5:37 PMdoctorboy
10/11/2021, 6:09 PMichimga
10/11/2021, 7:14 PMichimga
10/11/2021, 7:31 PMinit a new Dendron workspace and I get error running comman: EACCES: permission denied mkdir /mydirectoryichimga
10/11/2021, 7:56 PMkevins8
10/11/2021, 8:11 PMkzilla
10/11/2021, 9:02 PM