cake-build/cake

Add tab completion for CLI switches and task names

Aperta

#2974 aperta il 6 dic 2020

 (1 commento) (1 reazione) (0 assegnatari)C# (738 fork)batch import
FeatureHelp wantedUp-for-grabs

Metriche repository

Star
 (3742 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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).

Guida contributor