refactor(actions): trim help examples and restating comments

Signed-off-by: bircni <bircni@icloud.com>
This commit is contained in:
bircni committed 2026-10-12 20:48:00 +02:00
1 parent f783de3564
commit 71d84b070b
9 files changed
+15 -45

No files matched your search

-3
View File
@@ -57,7 +57,6 @@ $ tea workflow list --json id,state --jq '.[] | select(.state != "active") | .id
}
}
// workflowColumns head workflowRow.
var workflowColumns = []terminal.Column{{Header: "Name", Flex: true}, {Header: "File"}, {Header: "State"}, {Header: "Path", PipedOnly: true}, {Header: "URL", PipedOnly: true}}
func workflowRow(item services.Workflow) []terminal.Cell {
@@ -129,7 +128,6 @@ $ tea workflow view ci --web`,
return cmd
}
// renderWorkflow shows a workflow with its recent runs.
func (a *application) renderWorkflow(t target, workflow services.Workflow, runs []services.Run) string {
d := a.display()
rows := make([][]terminal.Cell, len(runs))
@@ -279,7 +277,6 @@ func (a *application) nextStep(cmd *cobra.Command, format string, args ...any) {
}
}
// inputValues parses key=value workflow inputs.
func inputValues(fields []string) (map[string]string, error) {
values := map[string]string{}
for _, field := range fields {