cli

package
v0.1.12 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2026 License: MIT Imports: 31 Imported by: 0

Documentation

Overview

Package cli implements the command structure and execution for the tool. It defines the root command, subcommands, and handles loading embedded configuration files required for the application.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Command

func Command(files *core.Embedded, version string) *cobra.Command

Command returns the root `godyl` command.

func UsesAPI added in v0.1.4

func UsesAPI(calledFrom *cobra.Command) bool

UsesAPI returns true if the command called from uses any API tokens.

Types

This section is empty.

Directories

Path Synopsis
Package auth contains the subcommand definition for `auth`.
Package auth contains the subcommand definition for `auth`.
remove
Package remove contains the subcommand definition for `auth remove`.
Package remove contains the subcommand definition for `auth remove`.
status
Package status contains the subcommand definition for `auth status`.
Package status contains the subcommand definition for `auth status`.
store
Package store contains the subcommand definition for `auth store`.
Package store contains the subcommand definition for `auth store`.
Package cache contains the subcommand definition for `cache`.
Package cache contains the subcommand definition for `cache`.
clean
Package clean contains the subcommand definition for `clean`.
Package clean contains the subcommand definition for `clean`.
path
Package path contains the subcommand definition for `cache path`.
Package path contains the subcommand definition for `cache path`.
remove
Package remove contains the subcommand definition for `cache remove`.
Package remove contains the subcommand definition for `cache remove`.
Package config contains the subcommand definition for `config`.
Package config contains the subcommand definition for `config`.
path
Package path contains the subcommand definition for `config path`.
Package path contains the subcommand definition for `config path`.
remove
Package remove contains the subcommand definition for `config remove`.
Package remove contains the subcommand definition for `config remove`.
set
Package set contains the subcommand definition for `config set`.
Package set contains the subcommand definition for `config set`.
Package core provides shared utilities and types for CLI command handling.
Package core provides shared utilities and types for CLI command handling.
Package download contains the subcommand definition for `download`.
Package download contains the subcommand definition for `download`.
Package dump contains the subcommand definition for `dump`.
Package dump contains the subcommand definition for `dump`.
auth
Package auth contains the subcommand definition for `dump auth`.
Package auth contains the subcommand definition for `dump auth`.
cache
Package cache contains the subcommand definition for `dump cache`.
Package cache contains the subcommand definition for `dump cache`.
config
Package config contains the subcommand definition for `dump config`.
Package config contains the subcommand definition for `dump config`.
defaults
Package defaults contains the subcommand definition for `dump defaults`.
Package defaults contains the subcommand definition for `dump defaults`.
env
Package env contains the subcommand definition for `dump env`.
Package env contains the subcommand definition for `dump env`.
platform
Package platform contains the subcommand definition for `dump platform`.
Package platform contains the subcommand definition for `dump platform`.
tools
Package tools contains the subcommand definition for `dump tools`.
Package tools contains the subcommand definition for `dump tools`.
Package install contains the subcommand definition for `install`.
Package install contains the subcommand definition for `install`.
Package paths contains the subcommand definition for `paths`.
Package paths contains the subcommand definition for `paths`.
Package status contains the subcommand definition for `status`.
Package status contains the subcommand definition for `status`.
Package update contains the subcommand definition for `update`.
Package update contains the subcommand definition for `update`.
Package validate contains the subcommand definition for `validate`.
Package validate contains the subcommand definition for `validate`.
Package version contains the subcommand definition for `version`.
Package version contains the subcommand definition for `version`.

Jump to

Keyboard shortcuts

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