Skip to content

Core concepts

Paweł Żukowski edited this page Jun 9, 2020 · 2 revisions

Commands and actions

A Command is a line of text typed into the shell. It consists of three main parts: <target>: <action> [<argument>...]

  • Target is a path to the node on which action will be invoked.
  • Action is name of the behavior to be executed.
  • Arguments are optional list of values passed to the action.

Example:

$ /: list.actions
get
set
list
list.actions
remove
contains

Every command part could also be represented by command

Actions

Argument passing convention

Minimal subset of actions supported by any TreeRoot

For read-only roots:

  • list.actions
  • list
  • contains
  • get

For writable roots above set might be extended to include:

  • set
  • remove
  • create