User Tools

Site Tools


cmd:create

This is an old revision of the document!


Create New Node

This command creates a new node in a specified parent. the node id can either be set explicitly or a placeholder variable can be used, which can then in the same command string be used, instead of node id, in other commands.

create <node id|placeholder> <parent node id>

If the parent node id does not exist an error is returned.

Placeholder example - create new node as child to node 42 and set its title to 'Hello World':

create x1 42; create x2 42; update x1 title 'Hello World';  update x2 title 'Another Hello World'
cmd/create.1591457430.txt.gz · Last modified: 2020/06/06 17:30 by deva