pr

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 5, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package pr provides pull-request lifecycle commands such as create, edit, get, and merge across repository batches.

The package maps CLI flags to scm provider operations through shared option structures, then executes each PR action concurrently per repository.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cmd

func Cmd() *cobra.Command

Cmd configures the root pr command along with all subcommands and flags

func Edit added in v0.9.6

func Edit(ctx context.Context, ch output.Channel) error

Edit updates the pull request for the given repository.

func Get added in v0.9.6

func Get(ctx context.Context, ch output.Channel) error

Get retrieves and displays the pull request information for the given repository.

func Merge added in v0.9.6

func Merge(ctx context.Context, ch output.Channel) error

Merge merges the pull request for the given repository.

func New added in v0.9.6

func New(ctx context.Context, ch output.Channel) error

New creates a new pull request for the given repository.

Types

This section is empty.

Jump to

Keyboard shortcuts

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