commands

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2022 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Server ...
	Server = &cobra.Command{
		Use:   "server",
		Short: fmt.Sprintf(version.ShortVersionBanner, ""),
		Run: func(cmd *cobra.Command, args []string) {

			fmt.Printf(version.ShortVersionBanner, "")

			app.Do(BuildContainer, fx.Invoke(func(
				logger *logging.Logging,
				dbSaver logging.ISaver,
				_ *initial.Initial,
			) {
				logger.SetDbSaver(dbSaver)
			}))

		},
	}
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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