cli

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2026 License: Apache-2.0 Imports: 44 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

Overview

Package cli wires the skylands binary's subcommands to the packages that implement them, and holds the Unix socket client the local CLI uses to talk to the daemon on this host.

Every command is <noun> <operation>, such as "daemon up" or "request approve".

Index

Constants

View Source
const ThemesRepoURL = "https://github.com/skylands-ai/themes"

ThemesRepoURL is where community theme packs are reviewed and kept.

Variables

This section is empty.

Functions

func Main

func Main(ctx context.Context, args []string, stdout, stderr io.Writer) int

Main runs the skylands CLI with args, which exclude the program name, and returns the process exit code. Errors are written to stderr prefixed with the path of the command that failed, such as "skylands daemon up".

func NewRoot

func NewRoot() *cobra.Command

NewRoot builds the full command tree. Each call returns an independent tree, so tests can run commands without sharing flag state.

Types

This section is empty.

Jump to

Keyboard shortcuts

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