cmd

package
v1.12.2 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2026 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Overview

Package cmd contains the watchtower (sub-)commands.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute the root func and exit in case of errors

func NewRootCommand

func NewRootCommand() *cobra.Command

NewRootCommand creates the root command for watchtower

func PreRun

func PreRun(cmd *cobra.Command, _ []string)

PreRun is a lifecycle hook that runs before the command is executed.

func Run

func Run(c *cobra.Command, names []string)

Run is the main execution flow of the command

Types

This section is empty.

Jump to

Keyboard shortcuts

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