cake-build/cake

Add tab completion for CLI switches and task names

Open

#2,974 建立於 2020年12月6日

在 GitHub 查看
 (0 留言) (1 反應) (0 負責人)C# (3,742 star) (738 fork)batch import
FeatureHelp wantedUp-for-grabs

描述

It would be nice to have tab completion for CLI switches of Cake .NET Tool and Cake Frosting.

Since --target is not a CLI switch for Cake .NET Tool implementing tab completion for task names might be challenging. For Cake Frosting --target is a CLI switch and it should be possible to implement tab completion also for task names. Performance will be an issue here, since we don't want to recompile on every key stroke and we should cache available task names somewhere (which would mean that task names are only available after first compilation).

貢獻者指南

Add tab completion for CLI switches and task names · cake-build/cake#2974 | Good First Issue