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

Add project_version macro #106

Merged
merged 1 commit into from
Apr 6, 2021
Merged

Add project_version macro #106

merged 1 commit into from
Apr 6, 2021

Conversation

stellartux
Copy link
Contributor

This commit implements @project_version, a macro which reads the version number from a Project.toml file for use with the version argument of the ArgParseSettings function. This keeps the version returned by ArgParse in sync with the project's version automatically.

@carlobaldassi
Copy link
Owner

Looks good, thanks. It should be mentioned in the documentation too though.

@stellartux
Copy link
Contributor Author

I'd added the docstring to the Settings page. Should I make a separate page for it or write more documentation?

@carlobaldassi
Copy link
Owner

Ah right I had missed it, sorry.

@carlobaldassi carlobaldassi merged commit 8b3cce9 into carlobaldassi:master Apr 6, 2021
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.

None yet

2 participants