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

[Feature suggestion] Flag to report bkt invocation values, and bkt context #22

Closed
mcint opened this issue Feb 9, 2023 · 2 comments
Closed

Comments

@mcint
Copy link

mcint commented Feb 9, 2023

I'd like a flag analogous to report Bkt status values. A one line output

As a baseline, a report of this invocation
Bkt: in_cache: false, ttl: 600s, stale?, warm?, force?

Perhaps repeated use of the flag, or a different flag, can report environment state consistent across invocations
Bkt context: cache_dir: ..., scope, env(Hash): 5a5a5a, command: "[expensive-command]", cwd?

Suggested names: [i]nclude (as in curl) / [v]erbose / [d]ebug / [r]eport? / [s]tatus.

@dimo414
Copy link
Owner

dimo414 commented Feb 10, 2023

Would #19 cover what you need? Can you share more about how you'd hope to use this information?

Note also the debug feature which requires recompiling bkt but can be useful for debugging.

@dimo414
Copy link
Owner

dimo414 commented Mar 18, 2023

I'm going to merge this with #19, feel free to weigh in there, it's something I'm likely to work on in the coming weeks.

@dimo414 dimo414 closed this as not planned Won't fix, can't repro, duplicate, stale Mar 18, 2023
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

2 participants