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

feat(cli): add version number to cli help string #55

Merged
merged 1 commit into from
Apr 23, 2021

Conversation

justindujardin
Copy link
Owner

Add the version number to the CLI app's help string so that it's easy to check the installed version:

(.env) √ pathy % pathy
Usage: pathy [OPTIONS] COMMAND [ARGS]...

  Pathy command line interface. (v0.5.1)

Options:
  --install-completion  Install completion for the current shell.
  --show-completion     Show completion for the current shell, to copy it or
                        customize the installation.

  --help                Show this message and exit.

Commands:
  cp  Copy a blob or folder of blobs from one bucket to another.
  ls  List the blobs that exist at a given location.
  mv  Move a blob or folder of blobs from one path to another.
  rm  Remove a blob or folder of blobs from a given location.

@justindujardin justindujardin added cli Relates to the CLI app enhancement New feature or request labels Apr 23, 2021
@codecov
Copy link

codecov bot commented Apr 23, 2021

Codecov Report

Merging #55 (97fecf4) into master (5bb7e1b) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master       #55   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            5         5           
  Lines         1027      1028    +1     
=========================================
+ Hits          1027      1028    +1     
Impacted Files Coverage Δ
pathy/about.py 100.00% <100.00%> (ø)
pathy/cli.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 86a0c3a...97fecf4. Read the comment docs.

@justindujardin justindujardin merged commit 8001907 into master Apr 23, 2021
@justindujardin justindujardin deleted the feature/cli-version branch April 23, 2021 23:54
github-actions bot pushed a commit that referenced this pull request Apr 24, 2021
## [0.5.2](v0.5.1...v0.5.2) (2021-04-24)

### Features

* **cli:** add version number to cli help string ([#55](#55)) ([8001907](8001907))
@github-actions
Copy link

🎉 This PR is included in version 0.5.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli Relates to the CLI app enhancement New feature or request released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant