repository_print

package
v4.0.1 Latest Latest
Warning

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

Go to latest
Published: May 18, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RepositoryPrinter

type RepositoryPrinter interface {
	Print(p hosting.Repository) error
	Close() error
}

func FormatPrinter

func FormatPrinter(w io.Writer, format hosting.RepositoryFormat) RepositoryPrinter

func NewRepositoryPrinterJSON

func NewRepositoryPrinterJSON(w io.Writer) RepositoryPrinter

func NewRepositoryPrinterRef

func NewRepositoryPrinterRef(w io.Writer) RepositoryPrinter

func NewRepositoryPrinterURL

func NewRepositoryPrinterURL(w io.Writer) RepositoryPrinter

type RepositoryPrinterFunc

type RepositoryPrinterFunc func(hosting.Repository) error

func (RepositoryPrinterFunc) Close

func (f RepositoryPrinterFunc) Close() error

func (RepositoryPrinterFunc) Print

type UseCase

type UseCase struct {
	// contains filtered or unexported fields
}

func NewUseCase

func NewUseCase(w io.Writer, format string) *UseCase

func (*UseCase) Execute

Directories

Path Synopsis
Package repotab provides a formatter which show repositories as a table in CLI
Package repotab provides a formatter which show repositories as a table in CLI

Jump to

Keyboard shortcuts

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