feat: allow arguments for :Neorg generate-workspace-summary
#1156
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes: #1086
Changes
This pull request changes the generate-workspace-summary in two ways:
Neorg generate-workspace-summary
command now takes optional arguments.generate_workspace_summary
such that it can be called through lua directly if needed.Needs feedback
The way it is implemented in this pull request accomplishes the goal by separating the arguments by space for separate categories, meaning you cannot target a category containing spaces with the neorgcmd.
I am not sure what is the better implementation - this or one where the Neorgcmd merges all inputs into a single category.