cmd

package
v0.40.1 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDefaultVendirCmd

func NewDefaultVendirCmd(ui *ui.ConfUI) *cobra.Command

func NewSortSemverCmd added in v0.37.0

func NewSortSemverCmd(o *SortSemverOptions) *cobra.Command

func NewSyncCmd

func NewSyncCmd(o *SyncOptions) *cobra.Command

func NewToolsCmd added in v0.37.0

func NewToolsCmd() *cobra.Command

func NewVendirCmd

func NewVendirCmd(o *VendirOptions) *cobra.Command

func NewVersionCmd

func NewVersionCmd(o *VersionOptions) *cobra.Command

Types

type SortSemverOptions added in v0.37.0

type SortSemverOptions struct {
	Constraints           []string
	Versions              []string
	Prerelease            bool
	PrereleaseIdentifiers []string
	// contains filtered or unexported fields
}

func NewSortSemverOptions added in v0.37.0

func NewSortSemverOptions(ui ui.UI) *SortSemverOptions

func (*SortSemverOptions) Run added in v0.37.0

func (o *SortSemverOptions) Run() error

type SyncOptions

type SyncOptions struct {
	Files    []string
	LockFile string

	Directories []string
	Locked      bool
	Lazy        bool

	Chdir                       string
	AllowAllSymlinkDestinations bool
	// contains filtered or unexported fields
}

func NewSyncOptions

func NewSyncOptions(ui ui.UI) *SyncOptions

func (*SyncOptions) Run

func (o *SyncOptions) Run() error

type UIFlags

type UIFlags struct {
	TTY            bool
	Color          bool
	JSON           bool
	NonInteractive bool
	Columns        []string
}

func (*UIFlags) ConfigureUI

func (f *UIFlags) ConfigureUI(ui *ui.ConfUI)

func (*UIFlags) Set

func (f *UIFlags) Set(cmd *cobra.Command)

type VendirOptions

type VendirOptions struct {
	UIFlags UIFlags
	// contains filtered or unexported fields
}

func NewVendirOptions

func NewVendirOptions(ui *ui.ConfUI) *VendirOptions

type VersionOptions

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

func NewVersionOptions

func NewVersionOptions(ui ui.UI) *VersionOptions

func (*VersionOptions) Run

func (o *VersionOptions) Run() error

Jump to

Keyboard shortcuts

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