Open EncodePanda opened 5 years ago
General purpose plugin, so that if somebody is missing particular plugin in frost they can always call system command.
Example usage:
Input:
'''frost:system:cmd ls -lat '''
Output:
''' ls -lat total 80 drwxr-xr-x 14 rabbit staff 448 Jul 29 19:45 .git drwxr-xr-x 4 rabbit staff 128 Jul 29 19:44 test drwxr-xr-x 5 rabbit staff 160 Jul 29 19:42 src -rw-r--r-- 1 rabbit staff 13 Jul 29 18:41 documentation.html drwxr-xr-x 3 rabbit staff 96 Jul 29 18:15 app drwxr-xr-x 17 rabbit staff 544 Jul 29 18:15 . -rw-r--r-- 1 rabbit staff 36 Jul 29 18:15 documentation.md -rw-r--r-- 1 rabbit staff 1167 Jul 29 12:26 package.yaml -rw-r--r-- 1 rabbit staff 2474 Jul 29 10:24 frost.cabal -rw-r--r-- 1 rabbit staff 318 Jul 24 00:20 stack.yaml -rw-r--r-- 1 rabbit staff 46 Jul 24 00:20 Setup.hs -rw-r--r-- 1 rabbit staff 8 Jul 24 00:20 README.md -rw-r--r-- 1 rabbit staff 1529 Jul 24 00:20 LICENSE -rw-r--r-- 1 rabbit staff 45 Jul 24 00:20 ChangeLog.md -rw-r--r-- 1 rabbit staff 27 Jul 24 00:20 .gitignore drwxr-xr-x 7 rabbit staff 224 Jul 23 23:56 .stack-work drwxr-xr-x 97 rabbit staff 3104 Jul 23 23:27 .. '''
General purpose plugin, so that if somebody is missing particular plugin in frost they can always call system command.
Example usage:
Input:
Output: