It would be great to have have multi level support like:
Tasks
Tasks for Nix
Update
Tasks for Brew
Update
When such a file is used xc first asks if you want the Nix or Brew section and after that shows again a selection for just the tasks below that heading. For non-interactive maybe multiple tags like xc nix update would be great. This would allow shorter selection menus and having just one file for all tasks on a system.
This would also allow to have different hosts supported as one could first select a host heading and after that the task selection with host specific modifications. Maybe even more that just 2 levels and support for ENV vars like XC_HEADING_1 = myHost to auto select a sub heading without asking for it.
It would be great to have have multi level support like:
Tasks
Tasks for Nix
Update
Tasks for Brew
Update
When such a file is used xc first asks if you want the Nix or Brew section and after that shows again a selection for just the tasks below that heading. For non-interactive maybe multiple tags like xc nix update would be great. This would allow shorter selection menus and having just one file for all tasks on a system.
This would also allow to have different hosts supported as one could first select a host heading and after that the task selection with host specific modifications. Maybe even more that just 2 levels and support for ENV vars like XC_HEADING_1 = myHost to auto select a sub heading without asking for it.