shared

package
v1.135.0 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package shared holds helpers shared by pr sub-command subpackages.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParsePRID

func ParsePRID(arg string) (int, error)

ParsePRID parses a string argument as a positive integer PR ID.

func ResolvePRTarget

func ResolvePRTarget(f *factory.Factory, args []string, hostnameFlag string) (bbrepo.RepoRef, int, backend.Client, error)

ResolvePRTarget resolves the repository target and parses the PR ID from args[0]. hostnameFlag may be empty to use auto-detection.

Types

This section is empty.

Jump to

Keyboard shortcuts

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