3 ms·
The CLI in the demo is amazing. I had to investigate how I could run 'rm -r' instantly. The answer is: https://github.com/gkz/grasp/blob/gh-pages/assets/js/com
by gunn 13y ago
The CLI in the demo is amazing. I had to investigate how I could run 'rm -r' instantly.
The answer is: https://github.com/gkz/grasp/blob/gh-pages/assets/js/command.js#L201 https://github.com/gkz/grasp/blob/gh-pages/assets/js/command...
- jashkenas 13y agoAnd what's even neater is how the JavaScript you linked to looks fairly normal (and efficient) at first glance... But the real source lies here: https://github.com/gkz/grasp/blob/gh-pages/assets/_ls/command.ls#L136-L146 https://github.com/gkz/grasp/blob/gh-pages/assets/_ls/comman...