igor-petruk / scriptisto

A language-agnostic "shebang interpreter" that enables you to write scripts in compiled languages.
Apache License 2.0
943 stars 24 forks source link

Add "template import" or "add --from-file" command #18

Closed igor-petruk closed 4 years ago

igor-petruk commented 4 years ago

"add" command has a limited application as is, because you likely need to do some debugging first before you make something a template.

Alternatively "template run" could work, as you could iterate on what you just run, but it is problematic, as not every save in "edit" mode is stored back to the original file. Maybe "edit" should do in-place editing