Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion internal/cmd/pipeline/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func NewCmdList(streams *iostreams.IOStreams) *cobra.Command {
Long: `List pipelines in a Bitbucket repository.

By default, this shows the most recent pipelines. Use the --status flag to filter
by pipeline status (PENDING, IN_PROGRESS, COMPLETED, FAILED, etc.).`,
by pipeline status (PENDING, IN_PROGRESS, COMPLETED, SUCCESSFUL, FAILED, STOPPED, EXPIRED).`,
Example: ` # List recent pipelines
bb pipeline list

Expand Down
4 changes: 4 additions & 0 deletions internal/cmd/workspace/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ You can filter by your role in the workspace (owner, collaborator, or member).`,
cmd.Flags().IntVarP(&opts.Limit, "limit", "l", 30, "Maximum number of workspaces to list")
cmd.Flags().BoolVar(&opts.JSON, "json", false, "Output in JSON format")

_ = cmd.RegisterFlagCompletionFunc("role", cmdutil.StaticFlagCompletion([]string{
"owner", "collaborator", "member",
}))

return cmd
}

Expand Down
Loading