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

Friendly __repr__ for Command #1267

Closed
twosigmajab opened this issue Mar 28, 2019 · 2 comments · Fixed by #1295
Closed

Friendly __repr__ for Command #1267

twosigmajab opened this issue Mar 28, 2019 · 2 comments · Fixed by #1295
Milestone

Comments

@twosigmajab
Copy link

(Pdb) pp cmd
<click.core.Command object at 0x7ff869ef1550>
(Pdb) pp cmd.name
'run-gunicorn'

What do you think of showing the command name in the __repr__ string, for friendlier debugging? Could be a good beginner-friendly issue!

@jzengg
Copy link
Contributor

jzengg commented May 6, 2019

I'm going to take a stab at this

@jcrotts jcrotts added this to the 8.0 milestone May 6, 2019
@twosigmajab
Copy link
Author

Thanks for fixing this, @jzengg!

@davidism davidism modified the milestones: 8.0, 7.1 Feb 24, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants