Skip to content

Commit

Permalink
Version option added
Browse files Browse the repository at this point in the history
  • Loading branch information
caseneuve committed Dec 15, 2023
1 parent cb60404 commit 5b95d02
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ Options:
-s, --server TEXT JIRA_SERVER value
--spin / --no-spin Control the spinner
-h, --help Show this message and exit.
--version Show the version and exit.
Commands:
log Log time spent on ISSUE number or ISSUE with description...
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "dzira"
version = "0.1.1"
version = "0.1.2"
dependencies = [
"click >= 8.1",
"jira",
Expand Down
1 change: 1 addition & 0 deletions src/dzira/dzira.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,7 @@ def update_worklog(
@click.option("-s", "--server", help="JIRA_SERVER value", envvar="JIRA_SERVER")
@click.option("--spin/--no-spin", help="Control the spinner", default=True)
@click.help_option("-h", "--help")
@click.version_option()
@click.pass_context
def cli(ctx, file, key, token, email, server, spin):
"""
Expand Down

0 comments on commit 5b95d02

Please sign in to comment.