cmd

package
v0.0.0-...-eb887e7 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CopyCmd = &cobra.Command{
	Use:   "copy [source]",
	Short: "copy",
}

CopyCmd is the parent for copy type commands

View Source
var ListCmd = &cobra.Command{
	Use:   "list [repos] [pool]",
	Short: "list",
}

ListCmd is a parent for list type commands

View Source
var RemoveCmd = &cobra.Command{
	Use:   "remove [repo] [source]",
	Short: "remove",
}

RemoveCmd is the parent for remove type commands

View Source
var ResetCmd = &cobra.Command{
	Use:   "reset [failed] [completed]",
	Short: "reset job logs",
}

ResetCmd is the parent for reset type commands

View Source
var RootCmd = &cobra.Command{
	Use:   "ferry",
	Short: "ferry is the Solus package repository tool",
}

RootCmd is the main entry point into ferry

View Source
var TrimCmd = &cobra.Command{
	Use:   "trim [packages] [obsoletes]",
	Short: "trim",
}

TrimCmd is the parent for trim type commands

Functions

func GetEopkgs

func GetEopkgs(providedPath string) (files []string, getErr error)

GetEopkgs will utilize the provided path to get any eopkgs. If the provided path is a file, we will validate it is an eopkg,. If the provided path is a directory, we'll recursively fetch eopkgs inside its contents.

Types

This section is empty.

Jump to

Keyboard shortcuts

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