6 Commits

Author SHA1 Message Date
octacian
d749eafb28
Preserve, improve environment and replace userdata
* Preserve the environment table so that it must
only be regenerated after a game restart, after
a computer is restarted, and at the tiem of the
initialization of a computer.
* Replace the current meta-based userdata
mechanisms with a global `ram` variable within the
environment, as the preservation of the environment
itself causes its global variables to be preserved
as well
* Make `get_attr` convert meta to a table before
accessing the requested key in order to ensure that
the meta can be correctly accessed even if it is
not a string
* Initialize output_editable meta on node place
2018-06-01 07:50:42 -07:00
octacian
fdeb68a5d5
Improve help and fix blank output after reinit
* Add clear to help
* Add off/shutdown to help
* Add reboot/restart to help
* Sort help alphabetically
* Ensure that start.lua is automatically run after
the filesystem is reinitialized in order to prevent
the output buffer from being empty
2018-05-31 19:13:15 -07:00
octacian
613657d454
Add luacheck and convert spaces to tabs 2018-05-31 11:00:44 -07:00
octacian
662c265cab OctOS: Allow specifying command to get help for with help command 2017-03-28 16:35:25 -07:00
octacian
c4bd091ae8 OctOS: Add params field to applications
Shows parameters for each command in help.
2017-03-28 16:31:10 -07:00
octacian
9ec3d9e76f OctOS: Add command framework
Documented in commands.md and applications.md.
2017-03-28 16:23:49 -07:00