Skip to content

Create command

Alvin Cheng edited this page Jan 9, 2023 · 2 revisions

Description

This is the create command, this command will create a file in your file system when parameter 1 is file or a folder when parameter 1 is folder with the name from parameter 2. This command is similar to the fs.mkdir() or fs.writeFileSync() functions in JS/TS. If you did not understand maybe a code example may help!

Example

create file "<FILE>"

Notice

Please note that this command is accessing your file system so the OS may ask for your permission(MacOS especially). Please grant permission to the executable to have access to your files, or else this command will fail.

Clone this wiki locally