tools

package
v0.0.11-beta Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package tools implements the tools dump subcommand for godyl. It displays information about the configured tools.

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 for the tools dump subcommand.

Types

type Command

type Command struct {
	// Command is the tools cobra.Command instance
	Command *cobra.Command
	// Config contains application configuration
	Config *config.Config
	// Files contains the embedded configuration files and templates
	Files config.Embedded
}

Command encapsulates the tools dump command with its associated configuration.

func NewToolsCommand

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

NewToolsCommand creates a Command for displaying tools information.

func (*Command) Flags

func (cmd *Command) Flags()

Flags adds tools-specific flags to the command.

Jump to

Keyboard shortcuts

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