cli

package
v2.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2026 License: MIT Imports: 16 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Export

func Export(cmd *cobra.Command, service profilev1connect.ProfileServiceClient, name, output string) (string, string, error)

Writes a profile's archive where asked, else in the folder exports go to, and says where

func InfoLines

func InfoLines(m *profilev1.Manifest) []string

Lines of a distribution's manifest, which the command prints and the profiles screen shows

func Pick

func Pick(args []string, w io.Writer) (string, []string, error)

Profile -p or --profile picks for this run, taken out of the arguments before the command parses them; a value that is no profile name given before the command is told on w and ends the run with status 2

func PlanLines

func PlanLines(plan *profilev1.Plan) []string

Lines of what an install would do, which the command prints and the profiles screen shows

func Register

func Register(host *cli.CLI)

func ShowLines

func ShowLines(p *profilev1.Profile) []string

Lines of what a profile is, which the command prints and the profiles screen shows

Types

This section is empty.

Jump to

Keyboard shortcuts

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