-
Notifications
You must be signed in to change notification settings - Fork 0
Commands in kShell
KhiemLikestoProgram edited this page Jun 26, 2022
·
1 revision
First, commands are in two things: local / routes (packages) and global (top-level).
Commands in local scope are only for a specific route (package) that you are in.
Commands in global scope (top-level) can be used everywhere, everymoment. ;)
Commands must be unique, because the top-level ones will override the local ones. If the commands are in different routes, it can have a same name, because local commands do not override eachother.
Currently, only two routes are open, main and lab.
q, quit, exit => Exits the shell.
qcls, quitclnscr => Cleans the screen + Exits the shell.
username, name, nm [-c/-a] [str] => Changes the username.
packages, pkgs => Lists all packages.
cd [path] => Changes the directory.
ls => Lists items in the directory.
cls => Cleans the screen.
?, help => Helps the user by giving information about this shell.
/ => A slash.
no_horny, nohorny, anti-horny, antihorny => https://youtube.com/watch?v=lBuKq_eO8Tc
info [-u/-p/-m] => Gets user, program, machine info.
echo, print, out [str] => Prints the string out.
sudo, linux, macintosh, unix => 2038 event
bgmusic, background_music, backgroundmusic => Gets the background music's name.
input, in [-f,full/-spl,split] => Gets user input, then print full or splitted input.
tree [path] => Makes the tree of the given path.
open [url/path] => Open URL/Path
sound, snd [path] => Open songs/sounds (full path).
chr, char, character [int,...] => Converts integers smaller than 1114111 to Unicode characters.
rd, rand, random [int/float/bytes/complex] => Create random integers, floats, bytes or complex numbers.
ord, ordinal [char,...] => Converts characters to its ordinal.
rld, reload => Reruns the program by adding a layer.
todo, TODO [todoname: str] [todooptions: str,...] => Makes a todo list (NOT RECOMMENDED)
games, kgames => Games in kShell
@[author/curuser, cur_user, cuser] => Gets the author's name and current user's name.
[custom_func] optional: [ignore, -i, ig/desconly,-d] => Runs the custom defined command.
package, pkg [package_name: str] [-d/package_command] => Runs the description of the package / Runs the command.
lab, experimental, exp [commands/shellchange,-shch,-sc,chshl] => Runs the lab package commands / Change route to **`labs`**.
[builtin_packages] => Gets the description of the package.
An alternate universe (by me, of course).
Note: The further up you go, the more cringier it gets. Remember that. (expressionally everyone does cringe things)
TEST_SIDEBAR