Skip to content

Commit

Permalink
Merge pull request berinhard#223 from berinhard/feature/display-version
Browse files Browse the repository at this point in the history
Add --version flag to pyp5js CLI interface
  • Loading branch information
berinhard authored Jan 1, 2023
2 parents 4823186 + 9c9e473 commit 87ebb8e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
Development
-----------
- Add `--version` parameter to the command line interface [PR #223](https://github.com/berinhard/pyp5js/pull/223)

0.7.3
-----
Expand Down
1 change: 1 addition & 0 deletions pyp5js/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@


@click.group()
@click.version_option(package_name="pyp5js", prog_name="pyp5js")
def command_line_entrypoint():
"""
pyp5js is a command line tool to conver Python 3 code to p5.js.
Expand Down

0 comments on commit 87ebb8e

Please sign in to comment.