workflow

package
v1.0.46955 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 5, 2026 License: MIT Imports: 15 Imported by: 0

Documentation

Overview

Package workflow implements the "circleci workflow" command group.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(ctx context.Context, client *apiclient.Client, idStr string, jsonOut bool) error

Get renders a workflow's details exactly as "circleci workflow get" does. It is exported so interactive callers (e.g. "circleci run get") can reuse the same output without duplicating the formatting code.

func NewWorkflowCmd

func NewWorkflowCmd() *cobra.Command

NewWorkflowCmd returns the "circleci workflow" command group.

func SummaryMarkdown

func SummaryMarkdown(ctx context.Context, client *apiclient.Client, id uuid.UUID) (string, error)

SummaryMarkdown assembles the workflow summary as markdown, for the interactive run-get flow's in-flow "all jobs in workflow" pager (the RenderWorkflowSummary callback). It mirrors runGet's non-JSON path but returns the markdown rather than paging it, so the flow can page it in its own program.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL