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

Know if we are running in REPL mode in click methods #126

Open
davetapley opened this issue Oct 7, 2024 · 0 comments
Open

Know if we are running in REPL mode in click methods #126

davetapley opened this issue Oct 7, 2024 · 0 comments

Comments

@davetapley
Copy link

Is there a way to know if we are running in REPL mode in the click methods?

Ideally, I'd also like to know whether this is repl being invoked the first time, or we are in the REPL loop.

For context:
My CLI prints out some debug info on startup, which works great in normal CLI mode, but in REPL it prints out on every command, which is too much.

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

No branches or pull requests

1 participant