Skip to content

Commit

Permalink
feat(cli): add version number to cli help string (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
justindujardin authored Apr 23, 2021
1 parent 86a0c3a commit 8001907
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ client library prefers.

# CLI

Pathy command line interface.
Pathy command line interface. (v0.5.1)

**Usage**:

Expand Down
3 changes: 2 additions & 1 deletion pathy/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@
import typer

from . import BasePath, FluidPath, Pathy
from .about import __version__

app: typer.Typer = typer.Typer(help="Pathy command line interface.")
app: typer.Typer = typer.Typer(help=f"Pathy command line interface. (v{__version__})")


@app.command()
Expand Down

0 comments on commit 8001907

Please sign in to comment.