mirror of
https://gitea.com/gitea/tea.git
synced 2026-10-26 19:11:25 +01:00
refactor(actions): trim help examples and restating comments
Signed-off-by: bircni <bircni@icloud.com>
This commit is contained in:
9 files changed
+15
-45
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user