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.
Click to show internal directories.
Click to hide internal directories.