Skip to content

Allow main function with arguments #37

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

Merged
merged 1 commit into from
Nov 9, 2021
Merged

Conversation

fenhl
Copy link
Contributor

@fenhl fenhl commented Oct 27, 2021

This changes the check for whether the code contains a main function to match main functions with arguments, which can be useful for parsing command-line parameters with paw.

@fornwall fornwall merged commit 00f164f into fornwall:master Nov 9, 2021
@fornwall
Copy link
Owner

fornwall commented Nov 9, 2021

Thanks! This will be out in a v0.18.0 update shortly.

@fenhl fenhl deleted the patch-1 branch November 9, 2021 21:56
@fornwall
Copy link
Owner

fornwall commented Nov 9, 2021

Update: Version 0.18.0 has now been published.

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

Successfully merging this pull request may close these issues.

2 participants