cmd

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2026 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Overview

Package cmd handle the cli commands

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called for backward compatibility

func ExecuteWithResources added in v0.11.0

func ExecuteWithResources(res *resources.Resources)

ExecuteWithResources adds all child commands to the root command with resources. This is the preferred way to execute commands with proper dependency injection.

func GetResources added in v0.11.0

func GetResources() *resources.Resources

GetResources returns the application resources

func NewRouter added in v0.11.0

func NewRouter() *gin.Engine

Types

This section is empty.

Jump to

Keyboard shortcuts

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