question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Extending the scope

See original GitHub issue

This is a great and useful package !

For internal and public projects I had to create similar commands for pytest test results and flake8 analysis results.

About to create dedicated libraries, I think that it would probably be wiser to put all of these as subcommands of a single badge generator.

Would you agree ? If so I can propose some PR where we would move from argparse to click and where you would have subcommands for each kind of badge to generate.

We would also have to rename the package to something more general such as makebadge or genbadge.

The result would look like:

genbadge coverage -o <file.svg> ...
genbadge flake8 -o <file.svg> ...
genbadge pytest -o <file.svg> ...

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
dbrgncommented, May 27, 2020

I’m not an expert at all, but argparse does subcommands through subparsers: https://docs.python.org/3.5/library/argparse.html#sub-commands

Great, then I’ll close this issue for now. Just ping me if you have something out 🙂

0reactions
smariecommented, May 18, 2021

This is very nice of you, thanks @dbrgn !

Read more comments on GitHub >

github_iconTop Results From Across the Web

Extend the scope of definition and meaning - Collins Dictionary
Extend the scope of definition: If you say that something, usually something large, extends for a particular distance or... | Meaning, pronunciation ...
Read more >
extend the scope or expand the scope? - TextRanch
The Commission proposal which is the subject of this report seeks to extend the scope of the existing Directive 92/6/EEC. Finally, the EESC...
Read more >
Extend The Scope synonyms - 38 Words and Phrases for ...
38 other terms for extend the scope. broaden the scope · broadening of the scope · broadening the scope · enlarge the scope...
Read more >
Extending the Scope of “Living” Crystallization-Driven Self ...
Recently, a seeded growth method, termed “living” crystallization-driven self-assembly (CDSA), has been developed to allow the formation of 1D ...
Read more >
extend the scope of research | English examples in context
Here, we aim to extend the scope of research by studying the dependence of synchronization transitions on the information transmission delay over scale-free ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found