Discover Packages
github.com/fugginold/dockwatch
cmd
package
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Sep 7, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Execute the root func and exit in case of errors
NewRootCommand creates the root command for dockwatch
PreRun sets up logging, secrets and environment before the run. It is the
thin cobra-coupled shell; all configuration assembly lives in buildConfig.
Run is the thin entry point: it resolves configuration and options from the
flags and hands control to the daemon. os.Exit and flag reading stay here;
the orchestration lives behind daemon.Run.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.