mumoshu / variant2

Turn your bash scripts into a modern, single-executable CLI app today
MIT License
141 stars 11 forks source link

Enhance `import` and `imports` to support importing from absolute paths to directories #25

Closed mumoshu closed 3 years ago

mumoshu commented 3 years ago

import and imports only supported relative paths to local directories or Git URLs before.

Since this change, it accepts a configuration like the below:

imports = [
  "/variant/modules/mycommmand/myjob/mynestedjob"
]