Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move argument parsing #10

Open
yonaskolb opened this issue Jan 8, 2018 · 0 comments
Open

Move argument parsing #10

yonaskolb opened this issue Jan 8, 2018 · 0 comments

Comments

@yonaskolb
Copy link
Owner

yonaskolb commented Jan 8, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant