-
Notifications
You must be signed in to change notification settings - Fork 2
learning
EricGebhart edited this page Sep 27, 2021
·
2 revisions
The easiest way to understand this is system is by using the REPL.
It will show you how it works. SPR -r
ls, show, help and pyhelp are your best friends.
with tells you where you are and moves you around to an extent..
Set is good for quick single things, copying trees, etc. but inline yaml is easier to read, and more powerful, if what is needed is some setup.
Then type these commands and read as you go.
- ls
- ls /
- ls bq
- ls /bar-QR
- show /bar-QR
- show bar-QR
- show or show / --- is big.
- ls /config
- ns-tree
- help
- pyhelp
- help def
- pyhelp def
- help sh
- pyhelp sh
- help sh/do
- pyhelp sh/do
- ls
- show
- show device
- show foo
- _def foo "foo show" as/show foo
- partial bar "foo show too" as/show foo
- help foo
- help bar
- foo
- bar
- foo bar
- bar bar
- set /foo/bar 10
- set-from foo/foo /foo/bar
- foo
- ui/msg "hello"
- def mymsg "my msg help" ui/msg "hello"
- ' --- Start entering Yaml.
- stuff:
- _ mine: 10_
- _ yours: 20_ *_ _ --- Finish entering Yaml.
- show /stuff
Once in the REPL at the prompt; __SPR:>, help shows all the commands known with their documentation.