System Commands
$config: [PROP]:[VALUE] — Makes config changes during runtime. Provide config property and value. Not all configuration properties are modifiable during runtime due to security.
$config: sms: false
clear — Clears CLI.
~QUERY — Queries the Language Model the Standard System is configured to and returns a result.
bulletin — Generates a bulletin file of all changes made that are kept in the history Standard records. Standard stores them in /.store/bulletins/MM_DD_YYY.stdx. The bulletin cadence is controlled by release_cadence in config.conf.
clean — Empties /temp and /bulletins folders of recent downloads and speech files.
delete [STD_NAME] — Deletes Standard given Standard name.
destroy [VAR_NAME] — Deletes variable in working Standard variable sandbox.
download [URI] — Downloads contents at URI and puts in /temp.
files [...] — Interact with files on the device. Discussed in-depth in later sections.
history — View CLI history in nano.
history -c — Clear CLI history.
in VAR_NAME ["TEXT"] — Set VAR_NAME to the console input with the optional TEXT wrapped in quotes as input precursor.
in name "What's your name?"
print name
launch [PACKAGE_SYS_NAME] — Launches app provided system app name.
map IP CHIT_VALUE — Add IP as child in config nodes with CHIT_VALUE.
pack PATH_TO_SPK — Import a ZIP file that is a .spk and import to /spks/FILE_NAME/....
print [ARGS...] — Prints value of arithmetic in parentheses, variables, or concatenations.
registry — List the variables created in the working sandbox. The CLI, packages, and Standard code files are in their own sandbox.
registry name — Returns the name of the working variable sandbox. Reference purposes only.
relay — List of connected clients with IP and device ID (serial).
relay ping [IP || DEVICE_ID] — Returns true or false if the device is connected.
relay chit [DEVICE_ID || USER_ID] — Create a chit for this device that needs to put into the relay's chits to allow connection. Running without the device appendage will generate a chit for the user. Running with the device appendage generates a device chit.
relay [IP || SERIAL] ~ CHIT ~ COMMAND — Runs and returns the result of the command provided on the destination device.
reload standards || reload stds — Reloads system Standards in case any are added, deleted, or updated.
run [PATH_TO_STD] — Runs a single Standard code file that ends in .std.
status — Returns a JSON of config, network, volume, and device information.
standards || stds [STD_NAME] [OUTPUT_TYPE] — Returns a list of system Standards. If STD_NAME (Standard name) is provided, the Standard contents are returned. You can follow with anOUTPUT_TYPE as JSON to see the Standard in JSON format.
share [PATH_TO_FILE] — Provide a file path of the file on the device, makes publicly available on relay.
tree [DIR] — Return JSON manifest of the DIR provided. If no DIR provided, /home/standard-system/ is used. DIR provided will be a child dir of /home/standard-system/.
typeof VAR_NAME — Returns the data type of the variable saved under VAR_NAME.
update — If Windows, checks if a new version is available. If so, downloads the installer, launches it, and exits the current instance.
user USER_ID CHIT — Provided USER_ID and a value for CHIT, Standard returns true or false if a record in chits matches (authentication).
version — Returns Standard System version.
volume # || ++ || -- — Sets output volume of the device to a number between 0–100. You can also provide + or - to increment or decrement the device output volume.
#Increases volume by 5
volume ++
#Decrease volume by 5
volume --
#Set volume to 50
volume 50