You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Alvin Cheng edited this page Feb 11, 2023
·
1 revision
Description
This is the read command, this command will read the file from the directory in parameter one and return the contents of the file in parameter two. Please note that this command requires permission for the CLI to access your local file system, this may especially be true on MacOS!
If you did not understand, feel free to see the example below:
Returning data into variables
If you skipped a few pages, you may wonder how we can return data from commands into variables. I have already mentioned how this worked in this wiki post.