cake-build / cake-build/cake

Add tab completion for CLI switches and task names

Open
#2,974 1 comment 1 reaction 0 assignees View on GitHub
Feature Help wanted Up-for-grabs
Dominant language
C#
Stars
4.2k
Forks
778
Avg merge
1h 15m
Merged PRs (30d)
19

Description

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

Contributor guide

Open the contributing guide

Research direction

Review the CLI handling for Cake .NET Tool and Cake Frosting, especially switch completion and task-name discovery around --target. Work out how available task names can be cached so completion does not recompile on every keystroke. Done means the requested completions work with the stated first-compilation limitation.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.