Beak icon indicating copy to clipboard operation
Beak copied to clipboard

Move argument parsing

Open yonaskolb opened this issue 8 years ago • 0 comments

At the moment Beak parses your function call from the CLI arguments and then embeds that function call at the end of your script and copies it into a main.swift in an executable Swift package.

It would be good to move the argument parsing code into generated package. That way it wouldn't have to be recompiled when you make a different function call (due to the source file changing). And then as it's a self contained package, we can have an install command, that will then copy the built package executable to somewhere like /usr/local/bin

yonaskolb avatar Jan 08 '18 13:01 yonaskolb