Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{ Use: "hcloud-upload-image", Short: `Manage custom OS images on Hetzner Cloud.`, Long: `Manage custom OS images on Hetzner Cloud.`, SilenceUsage: true, DisableAutoGenTag: true, Version: version.Version, PersistentPreRun: func(cmd *cobra.Command, _ []string) { ctx := cmd.Context() slog.SetDefault(initLogger()) logger := slog.Default() ctx = contextlogger.New(ctx, logger) cmd.SetContext(ctx) }, }
RootCmd represents the base command when called without any subcommands
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.