v1.13.0 - Added shutdown and reboot commands.
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
All default Halyde shell commands:
|
||||
argentum Uses the Argentum package manager.
|
||||
cat Concatenates and prints a file.
|
||||
cd Changes directory.
|
||||
clear Clears the screen.
|
||||
cp Copies a file.
|
||||
echo Prints a message.
|
||||
edit Opens the text editor.
|
||||
fetch Displays system information.
|
||||
help Shows this.
|
||||
ls Lists files.
|
||||
@@ -11,9 +13,9 @@ All default Halyde shell commands:
|
||||
lua Starts the Lua shell.
|
||||
mkdir Makes a directory.
|
||||
mv Moves/renames a file.
|
||||
reboot Reboots the computer.
|
||||
rm Deletes a file.
|
||||
edit Opens the text editor.
|
||||
argentum Uses the Argentum package manager.
|
||||
shutdown Shuts down the computer.
|
||||
|
||||
You can get additional information on any app or command by running:
|
||||
help [COMMAND]
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
Usage: reboot
|
||||
Reboots the computer.
|
||||
|
||||
Examples:
|
||||
reboot Reboots the computer.
|
||||
@@ -0,0 +1,5 @@
|
||||
Usage: shutdown
|
||||
Shuts down the computer.
|
||||
|
||||
Examples:
|
||||
shutdown Shuts down the computer.
|
||||
@@ -0,0 +1 @@
|
||||
import("computer").shutdown(true)
|
||||
@@ -0,0 +1 @@
|
||||
import("computer").shutdown()
|
||||
@@ -1 +1 @@
|
||||
{"prompt":"\u001b[92m%s > \u001b[0m","aliases":{"move":"mv","copy":"cp","ag":"argentum","rename":"mv","..":"cd ..","man":"help","del":"rm","delete":"rm","ren":"mv","remove":"rm","list":"ls","wget":"download","dir":"ls","ps":"lscor"},"splashMessages":["Made by John Haly- I mean Cerulean Blue.","Welcome! Type \"help\" to get started.","Also try KOCOS!","Welcome back, Commander. We have no idea what we're doing.","99.9% bug-free. The remaining 0.1% are features.","0 days since last error.","Everything is fine. The fire is decorative.","Please don't feed the background processes.","Also has fetch!","Anything red is no man's land. Trust me.","Machine...","Abort, Retry, Fail?","What's the deal with /argentum/store?","So cutting-edge you can't hold it in your hand.","Americans are the reason you see colors on-screen. I'm talking about ANSI escape codes, not politics.","Shoutout to Ponali!"],"path":["/halyde/apps/"],"startupMessage":"\n │\n │ %s\n │ %s\n │\n ","defaultWorkingDirectory":"/home/"}
|
||||
{"prompt":"\u001b[92m%s > \u001b[0m","aliases":{"move":"mv","copy":"cp","ag":"argentum","rename":"mv","..":"cd ..","man":"help","del":"rm","delete":"rm","ren":"mv","remove":"rm","list":"ls","wget":"download","dir":"ls","ps":"lscor","poweroff":"shutdown","restart":"reboot"},"splashMessages":["Made by John Haly- I mean Cerulean Blue.","Welcome! Type \"help\" to get started.","Also try KOCOS!","Welcome back, Commander. We have no idea what we're doing.","99.9% bug-free. The remaining 0.1% are features.","0 days since last error.","Everything is fine. The fire is decorative.","Please don't feed the background processes.","Also has fetch!","Anything red is no man's land. Trust me.","Machine...","Abort, Retry, Fail?","What's the deal with /argentum/store?","So cutting-edge you can't hold it in your hand.","Americans are the reason you see colors on-screen. I'm talking about ANSI escape codes, not politics.","Shoutout to Ponali!"],"path":["/halyde/apps/"],"startupMessage":"\n │\n │ %s\n │ %s\n │\n ","defaultWorkingDirectory":"/home/"}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
local loadfile = ...
|
||||
local filesystem = loadfile("/halyde/lib/filesystem.lua")(loadfile)
|
||||
|
||||
_G._OSVERSION = "Halyde 1.12.6"
|
||||
_G._OSVERSION = "Halyde 1.13.0"
|
||||
_G._OSLOGO = ""
|
||||
local handle, tmpdata = filesystem.open("/halyde/config/oslogo.ans", "r"), nil
|
||||
repeat
|
||||
|
||||
Reference in New Issue
Block a user