install

package
v0.0.6-beta Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package install implements the install command for godyl. It provides functionality to install tools from a YAML configuration file.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommand

func NewCommand(cfg *config.Config, files config.Embedded) *cobra.Command

NewCommand creates a cobra.Command instance containing the install command.

Types

type Command

type Command struct {
	// Command is the install cobra.Command instance
	Command *cobra.Command
}

Command encapsulates the install cobra command with its associated config and embedded files.

func NewInstallCommand

func NewInstallCommand(cfg *config.Config, files config.Embedded) *Command

NewInstallCommand creates a Command for installing tools from a YAML file.

func (*Command) Flags

func (cmd *Command) Flags()

Flags adds install-specific flags to the command.

Jump to

Keyboard shortcuts

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