See contents of a folder with a Terminal UI! 🤩
- Node.js (latest)
- npm (it's bundled with Node.js!)
But it's possible that you can upgrade, but in some cases it may cause errors.
After done that do:
- open your terminal
- open your main folder (root of your app) in your terminal
- in the terminal, type:
npm i code-gui
Note: After 1.0
, you have to add {"style":"text"}
after the specified path.
Simple Usage:
var loadDir = require("code-gui")
loadDir("C:/", {"style":"text"})
When ran the program, you may see this in the terminal:
#-- C:/
| (contents of C:/)
#------
This section is only used after 1.0.
They are loaded in {"style":"place style here"}
.
text
(1.1.0
)emoji
(1.1.0
)emoji-hacker
(1.1.0
)
To contribute, you have to:
- Apply to GitHub's rules
- Read this topic: https://scratch.mit.edu/discuss/topic/664129/