Documentation
¶
Overview ¶
Package app provides shared application lifecycle logic and bootstrap helpers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConsoleApp ¶
type ConsoleApp struct {
// contains filtered or unexported fields
}
ConsoleApp runs an app to run as CLI using cobra root command inside a started fx application.
func NewConsoleApp ¶
func NewConsoleApp(modules fx.Option, rootCmd *cobra.Command) *ConsoleApp
func (*ConsoleApp) Run ¶
func (c *ConsoleApp) Run(args []string) error
Click to show internal directories.
Click to hide internal directories.