-
-
Notifications
You must be signed in to change notification settings - Fork 213
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
Generate workspace summary per category #1086
Comments
I think this feature would be really neat. I've taking a look at how one could implement it. I found that it seems to be rather simple to get it working with a few tweaks (see screenshot for git diff in my test) However sadly the method to call generate-workspace-summary is not public and I am not sure how to tweak and edit I think it would be neat if the lua function is made public in the module such that one could send a list of categories to summarize (as suggested in my screenshot). I thought about making the eg. |
Added a pull request for a suggestion to a potential solution: see #1156 |
Issues
Feature description
It would be pretty slick if the command took an argument. For example,
:Neorg generate-workspace-summary some-category
, then populate the files where metadata is found to match. I wonder if this could be done somehow in relation to #967, where you could set up ranges per category, and populate with the applicable summary data.Help
Yes
Implementation help
I'm confident the work to be done is within core/summary/module.lua, but I'm unclear how the invocation of
add_commands_from_table
sets up the command to accept an additional argument in the command. I would need a lot of direction to be of much help.The text was updated successfully, but these errors were encountered: