You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'll study some ways of implementing it. I think the first step would be implementing the contract for options/arguments parsing. For instance, if the subtask has the function b.task.options, so it must have all the opt.add_flag/add_opt calls.
The second step is creating the subtask that generates the content of the proper file that autocompletes, based on a template.
Perhaps tasks can (optionally) implement task.<name>.complete functions? It would be great if sub-tasks and options would be 'automatically' completed by default.
BTW: do you have an example of tasks with sub-tasks?
It would be awesome if bangsh could include infrastructure to support completion of task and sub-task names as well as options/arguments.
Is there any chance you would add this functionality?
The text was updated successfully, but these errors were encountered: