A tool for writing scripts in JS with sensible default frameworks.
Inspired by zx, hackscript
is a version that is specifically tailored towards me and my needs. An example script per API functionality has been added under the tests
folder.
- API:
chalk
packageos
package
- Remote file execution
- API:
$
with its template functionality and all its childrenfs
packagequestion
functionfetch
functioncd
function
- API:
arg
for simple argument parsing (uses vercel/arg)open
for opening files, urls and the like with the OS' default program (uses sindresorhus/open)prompt
for creating interactive prompts (uses enquirer/enquirer)