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

Fix AttributeError when no command specified #83

Merged
merged 1 commit into from
Dec 11, 2023

Conversation

naglis
Copy link
Contributor

@naglis naglis commented Dec 11, 2023

Print usage instead of failing when no command is provided.

Resolves #82

Print usage instead of failing when no command is provided.

Resolves mkuthan#82
Copy link

codecov bot commented Dec 11, 2023

Codecov Report

Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (a07fbfe) 60.12% compared to head (a397200) 60.12%.

Files Patch % Lines
garminworkouts/__main__.py 0.00% 2 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main      #83   +/-   ##
=======================================
  Coverage   60.12%   60.12%           
=======================================
  Files          13       13           
  Lines         499      499           
=======================================
  Hits          300      300           
  Misses        199      199           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@mkuthan mkuthan merged commit 6c6abe1 into mkuthan:main Dec 11, 2023
7 of 8 checks passed
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.

AttributeError: 'Namespace' object has no attribute 'func'
2 participants