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

--outcmd equivalent for all verbs #773

Open
3tilley opened this issue Oct 27, 2023 · 3 comments
Open

--outcmd equivalent for all verbs #773

3tilley opened this issue Oct 27, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@3tilley
Copy link
Contributor

3tilley commented Oct 27, 2023

Hello,

I'm loving broot.

I'm hacking around on it, both my config and the code inside. --outcmd is great for debugging, as well as the obvious usage for br.

I think there would be some use for an equivalent for verbs executed inside broot. A file that gathers everything that was executed inside, so someone can see the effects of their verbs.

I think this could be especially useful for anyone writing their own verbs, and for that reason I would propose it as a CLI command - rather than just an env flag targetted at broot devs. What about --outverb? --verb-out(put) would probably be my preference, but consistency probably trumps.

If you agree, I'll start working on it.

@3tilley 3tilley added the enhancement New feature or request label Oct 27, 2023
@Canop
Copy link
Owner

Canop commented Oct 28, 2023

I'm not sure I understand your use case. Is that some kind of log ?

@3tilley
Copy link
Contributor Author

3tilley commented Oct 28, 2023

Yes basically, I guess it could also be used to mark a load of files in the editor and come back to them later, but it's mainly for debugging verbs.

The reason I would say it's distinct from just using the log is that i get the impression that users are encouraged to hack around and create their own verbs, and this would make it a lot easier. If it was only for people hacking on broot itself I'd say they could use the log

@Canop
Copy link
Owner

Canop commented Jan 17, 2024

Kind of related: #825

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants