selfcmd

package
v1.22.10 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2026 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Overview

Package selfcmd implements CLI self-management commands. This provides nvm-style version management for the Lux CLI itself.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmd

func NewCmd(injectedApp *application.Lux, version string) *cobra.Command

NewCmd creates and returns the self command

func SelfLinkOnFirstRun

func SelfLinkOnFirstRun() error

SelfLinkOnFirstRun checks if this is first run and links if needed. Call this from root command initialization.

Types

This section is empty.

Jump to

Keyboard shortcuts

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