HeyPuter / phoenix

🔥 Puter's pure-javascript shell
https://puter.com/app/terminal
GNU Affero General Public License v3.0
88 stars 15 forks source link

Add `sleep` builtin command, and a stub for `man` #32

Closed AtkinsSJ closed 4 months ago

AtkinsSJ commented 4 months ago

man just tells the user to use help COMMAND instead. Also added mention of that to help's normal output.

KernelDeimos commented 4 months ago

This gives me the idea that DI for javascript commands would be useful - unit tests could then mock setTimeout and wouldn't need to actually wait