From 04e2f8a0d6e1416eb9de11b598cadf6343c9720f Mon Sep 17 00:00:00 2001 From: That_One_Nerd Date: Sat, 1 Apr 2023 20:49:41 -0400 Subject: [PATCH] Added the new creation and execution commands to the Wiki. --- Commands.md | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/Commands.md b/Commands.md index 81383de..d7272df 100644 --- a/Commands.md +++ b/Commands.md @@ -199,6 +199,27 @@ Prints the history of all reversable commands executed by the shell. --- +#### `makedir`, `mkdir` +Creates a directory at the given location. + +Parameters: +- name: `string` + - The directory to create. + +--- + +#### `makefile`, `mkfile` +Creates a file at the given location with some optional text. + +Parameters: +- name: `string` + - The file to create. +- text: `string?` + - Optional text to write to the file. If set to `null`, no text will be written. + - Default Value: `null` + +--- + #### `permdel` Permanently deletes a file or directory. @@ -217,6 +238,18 @@ Parameters: --- +#### `run` +Executes an external process in the shell. This command cannot be prematurely cancelled because even when cancelled, the process will continue to run in the shell. In the future, this may be fixed. + +Parameters: +- name: `string` + - The name or location of the process to execute. +- args: `string` + - The arguments to be supplied to the process. + - Default Value: "" + +--- + #### `sleep` Wait for a given amount of milliseconds.