cli

package
v0.0.0-...-d27c0f0 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Main

func Main(args []string) int

Main cli entrypoint

Types

type AddRepoCommand

type AddRepoCommand struct{}

AddRepoCommand install

func (*AddRepoCommand) Help

func (i *AddRepoCommand) Help() string

Help text

func (*AddRepoCommand) Name

func (i *AddRepoCommand) Name() string

Name text

func (*AddRepoCommand) Run

func (i *AddRepoCommand) Run(args []string) int

Run operation

func (*AddRepoCommand) Synopsis

func (i *AddRepoCommand) Synopsis() string

Synopsis text

type InstallCommand

type InstallCommand struct{}

InstallCommand install

func (*InstallCommand) Help

func (i *InstallCommand) Help() string

Help text

func (*InstallCommand) Name

func (i *InstallCommand) Name() string

Name text

func (*InstallCommand) Run

func (i *InstallCommand) Run(args []string) int

Run operation

func (*InstallCommand) Synopsis

func (i *InstallCommand) Synopsis() string

Synopsis text

type SearchCommand

type SearchCommand struct{}

SearchCommand search

func (*SearchCommand) Help

func (i *SearchCommand) Help() string

Help text

func (*SearchCommand) Name

func (i *SearchCommand) Name() string

Name text

func (*SearchCommand) Run

func (i *SearchCommand) Run(args []string) int

Run operation

func (*SearchCommand) Synopsis

func (i *SearchCommand) Synopsis() string

Synopsis text

type UninstallCommand

type UninstallCommand struct{}

UninstallCommand uninstall

func (*UninstallCommand) Help

func (i *UninstallCommand) Help() string

Help text

func (*UninstallCommand) Name

func (i *UninstallCommand) Name() string

Name text

func (*UninstallCommand) Run

func (i *UninstallCommand) Run(args []string) int

Run operation

func (*UninstallCommand) Synopsis

func (i *UninstallCommand) Synopsis() string

Synopsis text

type UpgradeCommand

type UpgradeCommand struct{}

UpgradeCommand upgrade

func (*UpgradeCommand) Help

func (i *UpgradeCommand) Help() string

Help text

func (*UpgradeCommand) Name

func (i *UpgradeCommand) Name() string

Name text

func (*UpgradeCommand) Run

func (i *UpgradeCommand) Run(args []string) int

Run operation

func (*UpgradeCommand) Synopsis

func (i *UpgradeCommand) Synopsis() string

Synopsis text

Jump to

Keyboard shortcuts

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