v0.10.1 - Added a help file for edit.
This commit is contained in:
@@ -10,6 +10,7 @@ All current Halyde shell commands:
|
|||||||
lua Starts the Lua shell.
|
lua Starts the Lua shell.
|
||||||
mv Moves/renames a file.
|
mv Moves/renames a file.
|
||||||
rm Deletes a file.
|
rm Deletes a file.
|
||||||
|
edit Opens the text editor.
|
||||||
|
|
||||||
You can get additional information on any app or command by running:
|
You can get additional information on any app or command by running:
|
||||||
help [COMMAND]
|
help [COMMAND]
|
||||||
|
|||||||
@@ -0,0 +1,8 @@
|
|||||||
|
Usage: edit [PATH]
|
||||||
|
Opens a file with the text editor, or a new blank file if not specified.
|
||||||
|
|
||||||
|
PATH* Specifies the file to be opened.
|
||||||
|
|
||||||
|
Examples:
|
||||||
|
edit Opens a new blank file in the text editor.
|
||||||
|
edit /LICENSE Opens /LICENSE in the text editor.
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
local loadfile = ...
|
local loadfile = ...
|
||||||
local filesystem = loadfile("/halyde/lib/filesystem.lua")(loadfile)
|
local filesystem = loadfile("/halyde/lib/filesystem.lua")(loadfile)
|
||||||
|
|
||||||
_G._OSVERSION = "Halyde 0.10.0"
|
_G._OSVERSION = "Halyde 0.10.1"
|
||||||
|
|
||||||
function _G.import(module, ...)
|
function _G.import(module, ...)
|
||||||
local args = table.pack(...)
|
local args = table.pack(...)
|
||||||
|
|||||||
Reference in New Issue
Block a user