cake-build / cake-build/cake

Request: Get pretty-print summary of available Cake Targets (eg. build.ps1 -ListTargets)

Open
#2,006 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
4.2k
Forks
778
Avg merge
1h 15m
Merged PRs (30d)
19

Description

One of the challenges we have across our organization is that teams structure their cake files differently for their particular workflows. It's difficult as new comer to understand which targets do what you need. We ineffectively rely on team-lore, outdated readmes, or noisy slack channels for help.

It would helpful if we could add switch to get a pretty print summary of targets and their relationships.

Something like, this would be very helpful:

```
PS C:\git\myproj> .\build.ps1 -ListTargets

Full
|
--> Clean
|
--> NugetRestore
|
--> Build
|
--> Package
|
--> Publish
```

Contributor guide

Open the contributing guide

Research direction

Start with the build.ps1 command entry point and trace how Cake discovers and runs targets. Determine how target relationships should be represented and rendered for -ListTargets; done means a readable target summary matching the requested example and covering the relevant command behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell
Domain
build-system, cli, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.