Comment

Comment by seniorsassycat

Woah, this has been on my sort list of projects to build.

Advantages over `source` - require is relative to script file instead of execution `pwd` - a build process can create a single distributable file by cat-ing the required files.

Down the road I'd like to see a `babel` for bash. I think import / export, and functions with arguments would make my time with bash more enjoyable and productive.

As with other tools, `xeon` does a little too much,

  require("http://some.external.domain/awesome_script.sh")

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton